Announcement

Collapse
No announcement yet.

How to CONTROL SET COLOR for LABEL ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to CONTROL SET COLOR for LABEL ?

    Hello,
    I would like to change the color for label:
    ...
    CONTROL ADD LABEL, hDlg, %IDC_TEST, ...
    ...
    CONTROL SET COLOR hDlg, %IDC_TEST, RGB(139,0,0), -1

    but it does not work, why?

    Thanks


    OK, for LABEL
    ...
    CONTROL SET COLOR hDlg, %IDC_TEST, RGB(139,0,0), -1
    CONTROL REDRAW hDlg, %IDC_TEST

    thus it runs.
    Last edited by Alexander Holzer; 2 Sep 2009, 04:38 AM.
    Yours sincerely
Working...
X