Hi John,

If memory serves me well, you cannot set background colors to buttons (= list 
box headers).

Lately I had to do a date picker with colored "special" dates (e.g. suggested 
dates) and after some tries with a form with buttons (a button for each date) I 
switched to a list box (where you can set a background color for each cell, but 
not for the header) because of that "missing feature".

Best,

Olivier

-----Ursprüngliche Nachricht-----
Von: 4D_Tech [mailto:[email protected]] Im Auftrag von John Baughman 
via 4D_Tech
Gesendet: Dienstag, 26. Dezember 2017 03:48
An: 4D iNug Technical <[email protected]>
Cc: John Baughman <[email protected]>
Betreff: List Box Header background color programatically.

I have tried…

        OBJECT SET RGB COLORS(*;"Day"+String($k)+”Header”;Foreground 
color;$weekEndColor)
        OBJECT SET COLOR OBJECT SET 
COLOR(*;"Day"+String($k)+"Header";-(Foreground color +(256* weekEndColor)))

I can get the foreground color to work, but not the background.


Or is it just not possible to set header background colors programmatically? 
Can’t find anything in the Docs.


John Baughman
Kailua, Hawaii
(808) 262-0328
[email protected]





**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to