Skip to main content
All docs
V26.1
  • TdxAICommandList.Insert(Integer,string,Boolean) Method

    Inserts the specified AI-powered command at the specified position in the collection.

    Declaration

    procedure Insert(AIndex: Integer; const AID: string; AAvailable: Boolean = True);

    Parameters

    Name Type Description
    AIndex Integer

    The command insert position.

    AID string

    The target AI command identifier.

    AAvailable Boolean

    Optional. Specifies if the added command is available to users:

    True
    Default. This option enables all UI elements (and other options, such as a dedicated keystroke) associated with the command.
    False
    The command is unavailable and all associated UI elements are disabled.

    The AAvailable parameter value initializes the Available property for the added command.

    Remarks

    Call the Insert procedure to insert an individual AI-powered command at the specified position in the collection.

    To remove individual AI commands, call Delete and Remove methods.

    See Also