GetFormFieldChoiceFlags

Form fields

Description

Reads a Choice-field flag without requiring callers to decode the raw /Ff value

Syntax

Delphi

Function GetFormFieldChoiceFlags(Index, ValueKey: Integer): Integer;

Parameters

Index is the one-based form field index

ValueKey selects 1 Combo, 2 Edit, 3 Sort, 4 MultiSelect, 5 DoNotSpellCheck or 6 CommitOnSelChange

Return value

Returns 1 when the selected flag is set, otherwise 0