Sign in Join
FPDoc Onlineexperiment

TDBRadioGroup.Value property

Member of TDBRadioGrouppublicIn unit DBCtrls

The value for the selected radio button in the control.

Declaration

pascal
property Value: string read FValue write SetValue;

Description

Value is a String property which contains the text for the radio button at ItemIndex in the control. It is given the string value from the Values property stored at the position in ItemIndex. It may contain an 'X' character when the linked dataset has not been assigned, or when Values does not have a string stored at the requested position.

Assigning a new string to Value causes the Values property to be searched to locate the radio button with the specified content. ItemIndex is updated with the new position for the radio button, which initiates a call to UpdateRadioButtonStates to update the linked dataset and refresh the control. The Change method is called to signal the OnChange event handler (when assigned).

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.