TdxGuides.Insert(Integer) Method
Inserts a new guide UI adorner at the specified position within the collection.
Declaration
function Insert(Index: Integer): TdxGuide;
Parameters
Name | Type |
---|---|
Index | Integer |
Returns
Type |
---|
TdxGuide |
Remarks
Call this function to create a new guide with the default settings at the position passed as the Index parameter. The Insert function returns the newly created guide that you can customize.
Invoking Insert instead of the Add function is particularly useful if you need to determine a specific arrow and/or Tab key navigation order, since it is determined by the guide indexes within the collection. Alternatively, you can assign custom TabOrder property values of individual guides to achieve the required keystroke navigation order.
To destroy a specific guide within the collection, you can call the Remove procedure. The Clear procedure destroys all guides.
See Also