Xbasic

{TABSTOPS}

Syntax

{TABSTOPS}

Description

All controls that come after the command will have tab stops.

Discussion

You cannot control the location of tab stops in Xdialogs. All controls that are bound to variables (e.g. text boxes, list boxes, radio buttons, check boxes etc.) and standard buttons (i.e. not owner draw buttons) have tab stops. All other controls (such as tab buttons on tab controls, owner draw buttons etc. ) do not have tab controls. You can also use {DEFAULTTABSTOPS} to get this behavior. If you use the {TABSTOPS} command, then all controls that come after the command will have tab stops. this is actually the standard windows behavior. this includes owner draw buttons, and tab buttons. If you use {NOTABSTOPS} then all controls after this command will not have tab stops.

Example

ui_dlg_box("Tabbing",<<%dlg%
Tab stops enabled. All controls have tab stops.;
{tabstops}
{tab=x1}
{pane=One}
First Name:|[fname];
Last Name:|[lname];
<%B=T;O=Owner Draw Button%tb>
{pane=Two}
{endtab};
{lf};
Tab stops disabled. No controls in this section have tab stops.;
{notabstops}
{tab=x2}
{pane=One}
First Name:|[fname];
Last Name:|[lname];
<%B=T;O=Owner Draw Button%tb>
{pane=Two}
{endtab};
{lf};
{wrap=80};
Default tab stops. Only controls that are bound to variables, and standard buttons \(i.e. not owner draw buttons) have tab stops. \(This is the same convention as Version 5).;
{defaulttabstops}
{tab=x3}
{pane=One}
First Name:|[fname];
Last Name:|[lname];
<%B=T;O=Owner Draw Button%tb>
{pane=Two}
{endtab};
%dlg%)

Limitations

Desktop applications only

See Also