Insert(Index: Integer; pButton: IPPButton);
Index. Index of the position, to which the button must be inserted.
pButton. Button to be added to the group.
The Insert method inserts a button into the specified position in the group.
The button implemented by the PPSwitchButton class must 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: