10.07.2015 Views

Programming Guide - Actian

Programming Guide - Actian

Programming Guide - Actian

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

How You Can Change Field and Frame Appearance and BehaviorBiases for Menu ItemsOpenROAD provides the following biases for menu items:EnabledSpecifies that the user can select the menu item (not available for menuseparator)DisabledSpecifies that the menu item is displayed (grayed out) but the user cannotselect it or change itInvisibleSpecifies that the menu item is not displayedThe menu item biases let you make certain menu items available to the userunder different conditions.How You Can Set Field and Menu BiasesHow You Can Use the CurBias AttributeThere are two ways to set the bias of an individual field or menu item from4GL. The simplest way is to use the CurBias attribute to set the current bias.The alternative way is to set the bias for a particular mode with the ReadBias,QueryBias, UpdateBias, User1Bias, User2Bias, or User3Bias attributes. Use themode-bias settings only when you are working with frame modes.The following section describes the CurBias attribute. For a discussion of usingthe mode-bias attributes, see How You Can Use the Mode-Bias Attributes (seepage 372).Every field and menu item has a CurBias attribute that lets you specify thecurrent bias for the field. This attribute changes the field bias immediately,regardless of the current frame mode.The CurBias attribute for fields has the following valid values:• FB_CHANGEABLE• FB_LANDABLE• FB_VISIBLE• FB_VIEWABLE• FB_DIMMED• FB_INVISIBLE• FB_FLEXIBLE368 <strong>Programming</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!