home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.databases.paradox      To crash or not to crash, asks Borland      9,834 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 7,912 of 9,834   
   Robert Molyneux to Jim Moseley   
   Re: Fonts & Colors   
   11 Nov 06 15:59:26   
   
   From: ibisnest_removeantispam_@iinet.net.au   
      
   You could maybe look at using the Windows theme colours.   
      
   These extend the standard colours, and vary depending on how the user's   
   theme has been set.   
      
   "Jim Moseley"  wrote in message   
   news:4554f66e$1@pnews.thedbcommunity.com...   
   >   
   > Greetings   
   >   
   > Is there an easy way to determine whether a uiObject's color is too dark   
   > to use font.color=black, and instead replace it with font.color=white?   
   >   
   > If I check each rgb() value, what would the breaking point be?  Or should   
   > I add then together (red+green+blue > x)?  Or does someone have a better   
   > solution?   
   >   
   > Thanks,   
   > Jim Moseley   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca