Language Reference Guide : System Classes : FrameSource Class : MainBarTop Attribute
 
Share this page          
MainBarTop Attribute
Data Type: array of MainBar
4GL Access: RW
The MainBarTop attribute contains the set of MainBar items that are attached to the top of the frame's form. The items in the array are displayed from top to bottom. For an example, see MainBar Class.
The Orientation attribute of the MainBar items in this array should be set to FO_HORIZONTAL (see Orientation Settings for TableField, StackField, SliderField, ScrollbarField, RadioField, and PaletteField).
Note:  After setting this attribute, the array referenced by this attribute may differ from the one you set it to.