Skip to content

Item_Option - Cm_Entry

Allows you to query or change the format options for entry_items

Type: Property
Access: Read/Write
Data Type: Boolean
Parameters: None

Parameters

Parameter Type Description
iItem Integer
eOption Integer The entry option. Can be one of: ConstantMeaning

Syntax

Property Boolean Item_Option
Access Type Syntax
Read Access: Get Item_Option to BooleanVariable
Write Access: Set Item_Option to BooleanVariable/Value

Description

The Item_Option property allows you to query or change the format options for entry_items. The option setting is returned as a Boolean value.

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

This sample sets the SkipFound option of entry item 0 to True.

Set Item_Option 0 SkipFound to True

Sample

This sample checks the CapsLock option of entry item 0 and calls a custom method if is is True.

If (Item_Option(Self, 0, CapsLock)) Begin
    Send MyCustomMethod
End