<<

Contents

Search

>>

 

SET_TABSTOPS

 

 

Function

 

 

Syntax:

SET_TABSTOPS(<Mask Field>,<Tab Distance>)

 

<Mask Field>

= <MASK FIELD>

<Tab Distance>

= <NUM-EXPRESSION>

 

 

Meaning:

Specifies the tabulator distance in a listbox or combobox.

 

With SET_TABSTOPS the tabulator distance can be set for one single listbox or combobox. By default, the tabulator distance defined by the variable EBUS_TABSTOPS applies.

 

<Tab Distance> is to be defined as number of characters. The tabulator distance in the listbox/ combobox is calculated in the following way: average character width of the listbox/ combobox font * <Tab Distance>

 

SET_TABSTOPS returns the result 0 if an error occurred.

 

SET_TABSTOPS returns the result –1 if <Mask Field> is no list- or combobox.

 

Attention: This function has no effect with Html programs.

 

Parameter:

Mask Field

Listbox or Combobox

Tab Distance

Distance in characters

 

Sample:

H% = SET_TABSTOPS(#10.#LISTBOX1$,10)

IF H% <> 0

THEN ... Error ...

ENDIF

 

See also:

EBUS_TABSTOPS