1. Control element GroupItem

    Article: AN0002372Updated: 23.10.2021

    This is a control that inserts a frame with a title into the page. This frame can be packed or unpacked by clicking.

    Properties

    Name Description
    string Title Frame description.
    bool EnableCollapse Indication whether the frame can be packed.
    bool DefaultCollapse Default value for display. When TRUE the frame will be packed at display.
    bool Collapse Indication whether the frame is packed or unpacked.
    string ID Frame ID.
    string Tag Text property for custom use.
    OGItem OGItem Parent OGItem. The frame is inserted in this OGItem. If is returned NULL, then there is no parent OGItem.

    Example

    Script adds group item to the page and sets ID to gi1.

    var gi = OGForm.CreateOGGroup( 'gi1', 'Basic values', true, false);
    OGForm.AddControl(gi);
    

     

×