<<

Contents

Search

>>

 

SET_LOOKANDFEEL

 

 

Instruction

 

 

Syntax:

SET_LOOKANDFEEL = <LookAndFeel>

 

<LookAndFeel> = <STRING-EXPRESSION>

 

Meaning:

Changes the current LookAndFeel.

 

<LookAndFeel> must be one of the LookAndFeels returned by the function GET_LOOKANDFEELS$, otherwise the instruction does not have any effect.

 

Parameter:

LookAndFeel

Name of LookAndFeel

 

Sample:

/* Set Motif-LookAndFeel

L_F$ = GET_LOOKANDFEELS$

MAX% = INSTR_COUNT(L_F$,";") + 1

FOR I% = 1 TO MAX%

    H$ = SUBSTR$(L_F$,";",I%)

    IF INSTR(UPPER$(H$),"MOTIF") > 0

    THEN SET_LOOKANDFEEL = H$

         BREAK

    ENDIF

ENDLOOP

 

See also:

GET_LOOKANDFEELS$

GET_CURRENT_LOOKANDFEEL$

Configuration mask