1. OG data type - ControlOperationsUserSetList

    Article: AN0001676Updated:

    This object is list of objects ControlOperationsUserSet.

    Object properties

    All the functions are associated with list of objects, over which the function is called.

    Name Description
    ControlOperationUserSet GetByCode( string code) Function returns instance of button for setting up its properties.
    ControlOperationUserSet this[string code] Function returns instance of button for setting up its properties.

     

    Example of hiding a button with code 'sk' in a toolbar:

    OGControlOperations.GetByCode('sk').Visible = false;

    OGControlOperations['sk'].Visible = false;

     Example of renaming a button with code 'sk':

    OGControlOperations.GetByCode('sk').Name = 'New text';

×