[Overview][Types][Classes][Procedures and functions][Index] |
Event called when the selected item changes
Source position: extctrls.pp line 709
public property TCustomRadioGroup.OnClick : TNotifyEvent |
TCustomRadioGroup.OnClick is different from the usual event TControl.OnClick. Instead of occuring on a mouse click on the control, this event is occurs when the currently selected item changes. It will not occur if a click does not make the selection change, will not occur upon clicking a already selected item and will occur if one changes the selection via the keyboard. It also occurs when the item is changed programmatically. This is done for Delphi compatibility.
Note that Lazarus also offers another event for the same task with a better name: see TCustomRadioGroup.OnSelectionChanged for more details.
|
Notification handler for mouse clicks. |
|
|
Event called when the selected item changes |
lazarus-ccr.sourceforge.net |