11.01.2013 Views

Oracle Forms Developer – Form Builder Reference, Volume 1

Oracle Forms Developer – Form Builder Reference, Volume 1

Oracle Forms Developer – Form Builder Reference, Volume 1

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.

Current Record Visual Attribute Group property<br />

Description<br />

Specifies the named visual attribute used when an item is part of the current record.<br />

Applies to form, block, item<br />

Set <strong>Form</strong> <strong>Builder</strong>, programmatically<br />

Refer to Built-in<br />

• GET_FORM_PROPERTY<br />

• SET_FORM_PROPERTY<br />

• GET_BLOCK_PROPERTY<br />

• SET_BLOCK_PROPERTY<br />

• GET_ITEM_PROPERTY<br />

• SET_ITEM_PROPERTY<br />

Required/Optional optional<br />

Usage Notes<br />

This property can be set at the form, block, or item level, or at any combination of levels. If you specify<br />

named visual attributes at each level, the item-level attribute overrides all others, and the block-level<br />

overrides the form-level.<br />

Note that if you define a form-level Current Record Visual Attribute, any toolbars in the form will be<br />

displayed using that Current Record Visual Attribute. You can avoid this by defining block-level Current<br />

Record Visual Attributes for the blocks that need them instead of defining them at the form level. If you<br />

wish to retain the form-level Current Record Visual Attribute, you can set the block-level Current Record<br />

Visual Attribute for the toolbar to something acceptable.<br />

Current Record Visual Attribute is frequently used at the block level to display the current row in a<br />

multi-record block in a special color. For example, if you define Vis_Att_Blue for the Emp block which<br />

displays four detail records, the current record will display as blue, because it contains the item that is<br />

part of the current record.<br />

If you define an item-level Current Record Visual Attribute, you can display a pre-determined item in a<br />

special color when it is part of the current record, but you cannot dynamically highlight the current item,<br />

as the input focus changes. For example, if you set the Current Record Visual Attribute for EmpNo to<br />

Vis_Att_Green, the EmpNo item in the current record would display as green. When the input focus<br />

moved to EmpName, EmpNo would still be green and EmpName would not change.<br />

622

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

Saved successfully!

Ooh no, something went wrong!