FindById(Id: Integer): IBaseRibbonElement;
FindById(Id: Integer): Prognoz.Platform.Interop.Forms.IBaseRibbonElement;
Id. Control identifier.
The FindById method searches for the control by the numeric identifier.
When the ribbon is created using the editor, or on dynamic controls creation, the identifiers are generated automatically. Identifiers range starts with 35000. The FindById method is relevant if the ribbon structure is loaded from an XML file, and identifier values are predefined for specific controls.
The FindById method returns control parameters if the search was successful, and Null if the control cannot be found.
See also: