DataWindow.ButtonClick Method | |
Provide a method that is invoked when a check box, push button, or radio button is clicked with the mouse.
Namespace:
VO
Assembly:
VOGUIClasses (in VOGUIClasses.dll) Version: 2.21
Syntax VIRTUAL METHOD ButtonClick(
oControlEvent
) AS USUAL CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public override Usual ButtonClick(
Usual oControlEvent = default
)
Request Example
View SourceParameters
- oControlEvent (Optional)
- Type: Usual
The ControlEvent object that describes which button was clicked.
Return Value
Type:
UsualRemarks Tip |
---|
Important! This is a callback method used by X#.
Normally, it should not be called in your application code.
|
Button click events are propagated to the data window's owner the same way as menu events.
For an in-depth discussion on command event propagation, refer to the Programmer's Guide.
You must supply the code to turn a radio button on (and all the other radio buttons off)
when a user clicks on a radio button. Similarly, you must also be sure to invert the state of a check box when it is clicked.
See Also