formZ SDK | 5.0 API Reference | Project | Group Manager

# fz_grup_get_next

Description

Gets the next sibling of a group entry. Returns group (self) if the group has no siblings. This function can be used to get to all groups that a re children of a parent group. One would first get the first group of that parent with the api call fz_grup_get_child. In a while loop all children can be accessed with fz_grup_get_next.

Plugin Prototype

fzrt_error_td fz_grup_get_next(

fzrt_int | windex,
fz_grup_table_ptr | gtable,
fz_grup_ptr | grup,
fz_grup_ptr * | grup_next )

Parameters

windex [Input]

project window index

gtable [Input]

group table

grup [Input]

group

grup_next [Result]

pointer to the next sibling group

Returns

Error codes

Availability

5.0.0.0

Plugin Example

fz_grup_get_child(windex,gtable,parent_grup,&grup); while(grup != NULL) { ... fz_grup_get_next(windex,gtable,grup,&grup); }

See Also

fz_grup_get_prev, fz_grup_get_child,, fz_grup_get_root

Function Set

fz_grup_fset

Defined in

fz_grup_api.h