COLORDIALOG
|
Syntax: |
COLORDIALOG(<Header>,<Red>,<Green>,<Blue>)
|
||||||||
|
|
|
||||||||
|
Meaning: |
Calls the standard color chooser dialog. Every color consists of a red, green and blue
share. The color specified by <Red>, <Green> and <Blue> is
preset with opening the dialog. After the dialog has been closed EBUS_DATA contains the status. If EBUS_DATA
= 0, the dialog has been left with 'Cancel' or the dialog could not be
loaded. If EBUS_DATA
= 1, a color has been selected. The variable EBUS_DATA$ contains separated by semicolons ";" the color shares of the
selected color: <Red>;<Green>;<Blue>. |
||||||||
|
Parameter: |
|
||||||||
|
Sample: |
COLORDIALOG("Bitte Farbe auswählen",255,0,0) IF EBUS_DATA = 1 THEN ROT%
= VAL(SUBSTR$(EBUS_DATA$,";",1)) GRUEN% = VAL(SUBSTR$(EBUS_DATA$,";",2)) BLAU% = VAL(SUBSTR$(EBUS_DATA$,";",3)) ENDIF |
||||||||
|
See also: |
|