I don't know how useful this is, here's something I found out while playing with some code.
In the Help file I read that CONTROL SET COLOR won't work with line controls. I also read that the LINE control won't display text.
So I was playing around with code and tried this:
Control Add Line, hDlg, 507, "LINE", 200, 80, 40, 40, %ss_notify
Control Set Color hdlg, 507, %blue, %red
This gives me a colored line control with the word "LINE" in it.
I played some more with other style& values and found that %ss_notify enables the color/text display. I also tried some LABEL style& values and they worked too. I could center the text or get it to wordwrap, for example.
It's as though the line control works like a label control with the %ss_notify style& value added.
In the Help file I read that CONTROL SET COLOR won't work with line controls. I also read that the LINE control won't display text.
So I was playing around with code and tried this:
Control Add Line, hDlg, 507, "LINE", 200, 80, 40, 40, %ss_notify
Control Set Color hdlg, 507, %blue, %red
This gives me a colored line control with the word "LINE" in it.
I played some more with other style& values and found that %ss_notify enables the color/text display. I also tried some LABEL style& values and they worked too. I could center the text or get it to wordwrap, for example.
It's as though the line control works like a label control with the %ss_notify style& value added.
Comment