[Overview][Types][Classes][Procedures and functions][Index] |
Creates the visual components used in the radio group.
Source position: extctrls.pp line 754
protected procedure TCustomRadioGroup.InitializeWnd; override; |
InitializeWnd is an overridden method in TCustomRadioGroup used to initialize the TRadioButton instances which represent the Items on the control. A catchable debugger exception is raised, and no actions are performed, if InitializeWnd has already been called but has not yet been completed.
InitializeWnd recreates the TRadioButton instances in the internal storage for the class and configures their event handlers, Fonts, BorderSpacing, ControlStyle flags, TabStop and TabOrder settings, Caption, and Parent control. This includes the hidden radio button used (when needed for a widgetset) to allow all items in the group to become unchecked. The radio button representing the value in ItemIndex has its Checked property set to True, or the hidden radio button when ItemIndex is -1.
The inherited method is called to initial handles, window flags, text, and the enable state for the controls.
InitializeWnd is called from the CreateWnd method in the ancestor class.
|
Contains the captions for the radio button displayed in the control. |
|
|
The ordinal position in Items for the selected radio button in the group. |
|
|
Implement a radio button control. |
|
|
Copies cached control properties to the newly created widget. |
|
|
Creates the interface object (widget) and assigns the value in Handle. |
Version 4.0 | Generated 2025-05-03 | Home |