<<

Contents

Search

>>

 

ENABLE

 

 

Instruction

 

 

Syntax:

ENABLE <Switch>

 

<Switch> = <NAME>

 

Meaning:

Enables a switch.

 

These switches are available:

 

Switch

Consequence

AUTODISPLAY

At the end of a macro all mask fields are redisplayed if Index Files have been read.

AUTOHELP

The help texts of the mask fields are displayed.

AUTOWRAP

Wrap with PRINT instructions.

BACK

Return to previous mask field is possible. 

BELL

The alarm signal is switched off.

BUTTON_ACTIVATE

Pushbuttons, Checkboxes and radiobuttons become the current field when they are clicked. 

CHECKFIELDS

If an input field is clicked with the mouse, the macros (Macro before, Macro after) of the fields in between are executed.

ENDINPUT

The standard icon F12 "Endinput" is activated.

ESC

The ESC key is enabled.

FIELDMARK

Mask fields are shown as selected after they have been called.

FILE

The standard icons F3 and F4 "Scroll forwards/backwards" are activated.

ICON_DEL_FIELD

The standard icon F5 "Delete field" is activated.

ICON_DEL_FIELD_CURSOR

The standard icon F6 "Deleted field rest" is activated.

ICON_PRINT

The standard icon Shift/F7 "Print screen" is activated.

ICONHELPTEXT

The help texts of the icons are displayed.

LISTBOXCHANGE

With listboxes the Macro After is not only executed when the listbox is left but with any event.

LOCKTIMEOUT

When a locked data record of an Index File is accessed a message appears on screen.

LPGDI

Printing in the graphical mode, not the character mode.

MENU_CLOSE

When a new menu item is selected the previously selected menu item is closed. NOWAIT windows are closed.

MENU_F10

The key F10 does not jump to the menu. ON F10 MACRO is executed. 

MENU_WAIT

The function START_MENU starts the menu and only returns when the menu has been closed.

MULTILANGUAGES

Multilinguism is active.

NO_MACRO_AFTER

The Macro After of a mask field is only executed if a succeeding mask field is jumped to. With pushbuttons, checkboxes and radiobuttons the Macro After is executed only if the element has been pressed.

NOAUTOREORG

At the start of the program defective index files are only reorganised after confirmation.

NOBLINK

Blinking is deactivated.

NOCLEAR

The content of a mask field is not deleted with the entry of the first character.

READ_RECORD

With Index Files not only the key but also the data record is read.

REORG

Defective Index Files are reorganised at the start of the program.

ROTATE

After the last mask field program execution jumps to the first mask field.

SELECT_ASCENDING

Data records are displayed ascending in SELECT.

SELECT_DOUBLECLICK

In SELECT a row is selected by double-click.

SELECT_HILITE_BAR

The highlight bar is visible in SELECT / SELECTA.

SELECT_SEARCH

The automatic positioning of the highlight bar in SELECT is activated with the input of letters or numbers.

SELECTA_SORT

Columns can be sorted in SELECTA.

STATUSLINE

The statusline is shown.

TAB

The tab key is enabled.

TERMINATE

The button for closing the main window is activated.

TRUNCATE_WINDOW

Windows that exceed the right or bottom edge of the screen, are reduced and created with scroll bars.

WAITCURSOR

The waitcursor is shown while the program works.

WAITSHELL

Program execution waits the end of SHELL calls.

WINDOW_BORDER

Windows are created with header bar.

WINDOWPOS

The instruction WINDOWPOS specifies where windows are shown on screen.

ZERODATE

Date fields of the value zero are shown as 00.00.00 or 00.00.0000.

 

Parameter:

Switch

Name of switch

 

Sample:

ENABLE ESC

 

See also:

DISABLE

GET_SWITCH

GET_SWITCHES$

SET_SWITCHES