Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxGuides.Insert(Integer) Method

Inserts a new guide UI adorner at the specified position within the collection.

#Declaration

Delphi
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