Item_Options - DfBaseEntry

Allows you to query or change the format options for entry_items as a group

Type: Property

Access: Read/Write

Data Type: Integer

Parameters: Integer iItem

ParameterDescription
iItem (Optional)The item number


Syntax
 Property Integer Item_Options

Read Access: Get Item_Options [iItem] to IntegerVariable
Write Access: Set Item_Options [iItem] to IntegerVariable/Value


Description

The Item_Options property allows you to query or change one or more format options for entry_items. The option setting is returned as a Boolean value. The top 16 bits of the item options are for internal use and should not be changed by users. When you set item_options, you will usually wish to set field_options as well.

In a typical application, when using Data Dictionaries, this is done using the Field_Option property. That topic also fully explains each possible option.


Sample

Set Item_Options 0 to (DD_CAPSLOCK ior DD_FINDREQ)


Sample

Integer iOptions
Get Item_Options 0 to iOptions
Set Item_Options of oObjectName 0 to iOptions
Set Field_Options of oObjectName 0 to iOptions


To query the item options of an entry item, use the individual Item_Option property. That property also lists all possible options.