> Le 23 sept. 2017 à 22:42, Cannon Smith via 4D_Tech <4d_tech@lists.4d.com> a 
> écrit :
> 
> Does this work for you?
> 
> $lDesiredFontColor:=0x00CCCCCC  //Or whatever grey you are after
> OBJECT GET RGB COLORS(*;Widget;$lForeground;$lBackground;$lAltBackground)
> OBJECT SET RGB 
> COLORS(*;Widget;$lDesiredFontColor;$lBackground;$lAltBackground)
> 
> Then you don’t have to guess what the background scheme is.

There is also the value -255, means "leave unchanged" - see § "Managing styles 
and colors" in this page:
<http://doc.4d.com/4Dv16/4D/16.2/Managing-List-Box-Objects.300-3433556.en.html>

-- 
Arnaud de Montard 


**********************************************************************
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:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to