Hello, Today I have a new question about edit box control, please look at the image below:
I want the colors as specified for each event....
Code for the edit box:
$output_terminal = GUICtrlCreateEdit("[INFO] Welcome to the Developer Console" & @CRLF,0,285,546,124,2048,-1)
Code for the function which is used by the whole program:
Func SendEvent($type, $msg)
If $type = 0 Then $type = '[OKAY] '
If $type = 1 Then $type = '[EROR] '
If $type = 2 Then $type = '[WARN] '
If $type = 3 Then $type = '[INFO] '
GUICtrlSetData($output_terminal, $type & $msg & @CRLF, 1)
EndFunc
Thanks in advance