ClickRadioButton Method
Description
Simulate the action of a radio button click in the task dialog.
Syntax
Public Sub ClickRadioButton( _
ByVal Id As Long _
)
Parameters
- Id: Indicates the radio button ID to be selected/clicked.
Remarks
ClickRadioButton should only be called after the dialog has been Constructed.
The ClickRadioButton method can be used to simulate the action of a radio button click in the task dialog and will cause the RadioButtonClicked event to fire.
Notes:
- The RadioButtonClicked event occurs when a radio button is clicked and is used to determine which radio button was selected.
- The AddRadioButton method is used to add radio buttons.
- The AddRadioButton adds a user-defined radio button to the task dialog's command area.
- The DefaultRadioButton may be any of the values specified when calling the AddRadioButton method. If DefaultRadioButton is zero or its value does not correspond to any radio button ID in the dialog, then the first button in the dialog will be the default.

See Also
- TaskDialog Control
- EnableRadioButton Method
- DefaultRadioButton Property
- RadioButtonClicked Event
- AddRadioButton Method
- Constructed Event
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.