Tabbed Control Methods


The Tabbed Control has the following methods. The tabbed 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.

  • .ACTIVATE() 

    Sets focus to the object.

  • .CHILD() 

    Returns an object pointer to the Nth child of the object, or the child object called Object_Name.

  • .CHILD_ENUM() 

    Returns a CR-LF separated list of all the child objects on the form, in tab order.

  • .CHILDREN() 

    Returns the number of objects that a container object contains. Returns zero if the object is not a container.

  • .CLASS() 

    Returns the class (i.e., type) of the object.


    Returns the name of the control's container.

  • .DISABLE() 

    Makes a form unable to receive focus. May also gray the object. Works with fields, buttons, check boxes, etc.

  • .ENABLE() 

    Makes an object able to receive focus.

  • .EVAL() 

    Interprets a string as Xbasic code.

  • .FIELD_GET() 

    Returns a pointer to the table field bound to the control.

  • .HAS_METHOD() 

    Returns .T. (TRUE) if the form supports the specified method.

  • .HIDE() 

    Hides an object.

  • .KINDOF() 

    Returns the kind of object represented by a form.

  • .NAME() 

    Returns the object name.


    Returns the reference expression to reconstruct a reference to the object.

  • .REFRESH() 

    Forces a control to re-fetch data from its data source, and then to repaint itself. Works with all controls.

  • .REPAINT() 

    Re-displays a control.


    Returns the session handle associated with the object.

  • .SHOW() 

    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.

  • .TAB_GET() 

    Returns the number of the visible page.

  • .TAB_SET() 

    Sets the number of the visible page.

  • .TYPE() 

    Returns the type of data bound to an object.

See Also