IPPButtonGroup.Insert

Syntax

Insert(Index: Integer; pButton: IPPButton);

Parameters

Index. Index of the position, to which the button must be inserted.

pButton. Button to be added to the group.

Description

The Insert method inserts a button into the specified position in the group.

Comments

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:

IPPButtonGroup