Insert(Index: Integer; pButton: IPPButton);
Index. Index of the position where the button should be inserted.
pButton. Button to be added to the group.
The Insert method inserts a button into specified position in the group.
The button implemented by the PPSwitchButton class should be specified as value of the pButton parameter. When a button is added to the group as a parent component, the current PPButtonGroup component is automatically defined for this button.
See also: