QR Get area property

4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next

version 2003


QR Get area property (area; property) Longint

ParameterTypeDescription
areaLongintReference of the area
propertyLongintInterface element designated
Function resultLongint1 = displayed, 0 = hidden

Description

The QR Get area property command returns 0 if the interface element (toolbar or menu bar) passed in property is not displayed; otherwise, it returns 1.

The menu bar and toolbars are numbered from 1 to 6 (top to bottom) and the value 7 is dedicated to the contextual menu.

You can use the constants from the QR Area Properties theme to designate the interface item:

ConstantDescription
qr view menubar (1)Display status of the menu bar (Displayed=1, Hidden=0)
qr view standard toolbar (2)Display status of the Standard toolbar (Displayed=1, Hidden=0)
qr view style toolbar (3)Display status of the Style toolbar (Displayed=1, Hidden=0)
qr view operators toolbar (4)Display status of the operators toolbar (Displayed=1,
Hidden=0)
qr view color toolbar (5)Display status of the Color toolbar (Displayed=1, Hidden=0)
qr view column toolbar (6)Display status of the Column toolbar (Displayed=1, Hidden=0)
qr view contextual menus (7)Display status of the Contextual menu (Displayed=1, Hidden=0)

If you pass an invalid area number, the error -9850 will be generated.

If you pass an invalid property parameter, the error -9852 will be generated.

See Also

QR SET AREA PROPERTY.


4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next