Button Control Methods
The Button Control has the following methods. The button control methods are used with a pointer to the control in the following way: .METHOD(). Refer to Retrieving a Pointer to a Control for techniques for getting a pointer.
Sets focus to the object.
Returns an object pointer to the Nth child of the object, or the child object called Object_Name.
Returns a CR-LF separated list of all the child objects on the form, in tab order.
Returns the number of objects that a container object contains. Returns zero if the object is not a container.
Returns the class (i.e., type) of the object.
Returns the name of the control's container.
Makes a form unable to receive focus. May also gray the object. Works with fields, buttons, check boxes, etc.
Makes an object able to receive focus.
Interprets a string as Xbasic code.
Returns .T. (TRUE) if the form supports the specified method.
Hides an object.
Returns the kind of object represented by a form.
Returns the object name.
Trigger's the button's OnPush event.
Returns the reference expression to reconstruct a reference to the object.
Forces a control to re-fetch data from its data source, and then to repaint itself. Works with all controls.
Re-displays a control.
Returns the session handle associated with the object.
Sets the button's password.
Shows an object that may previously have been hidden using the .HIDE() method. Works with fields, buttons, check boxes, text, lines and most other objects on forms.
Returns the type of data bound to an object.