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 Behavior• FB_RESIZEABLE• FB_MARKABLE• FB_MOVEABLE• FB_CLICKPOINT• FB_DRAGBOX• FB_DRAGSEGMENTIf the field does not support the Dimmed bias, OpenROAD uses FB_VISIBLEinstead. If the field does not support the Flexible bias (cannot be resized),OpenROAD uses FB_MOVEABLE instead.The CurBias attribute for menu items has the following valid values:• MB_INVISIBLE• MB_DISABLED• MB_ENABLEDChanging the CurBias attribute also changes the field's bias for the currentmode. For a discussion of using the mode-bias attributes, see How You CanUse the Mode-Bias Attributes (see page 372).How You Can Use the CurBias Attribute for Composite FieldsWhen you set the CurBias attribute of a composite field, it indirectly affects thebiases of its child fields. Based on the new bias of the composite field,OpenROAD sets a maximum bias for the children.For example, if you change the CurBias attribute for a table field fromFB_CHANGEABLE to FB_VISIBLE, the user cannot access any of the columns inthe table, even though their individual biases are still FB_CHANGEABLE.This maximum bias is changed when you reset the CurBias for the compositefield. For example, if you reset the CurBias for the table field toFB_CHANGEABLE, the user can then access any of the columns in the table (solong as their individual bias setting allows it).Changing the CurBias attribute also changes the field's bias for the currentvalue of CurMode. For example, if the frame's CurMode setting is FM_READand you set CurBias for a field to FB_INVISIBLE, the ReadBias attribute forthat field is also changed to FB_INVISIBLE.For more information about changing a field or menu item's bias, see theLanguage Reference <strong>Guide</strong> online help.Creating Dynamic Frames 369

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

Saved successfully!

Ooh no, something went wrong!