1. Next question...
- Posted by LEVIATHAN <leviathan at USWEST.NET> Aug 24, 2000
- 448 views
Hmm... So, I start my next question... I've got setTextColor set to a decimal value, or set to an rgb() value... yet whether or not I throw it in a onPaint, the desired color, (something other than black) doesn't come up. Yet another newbie-style question, sorry :) TIA, Blessed Be! --"LEVIATHAN"
2. Re: Next question...
- Posted by Dan B Moyer <DANMOYER at PRODIGY.NET> Aug 24, 2000
- 458 views
- Last edited Aug 25, 2000
Put this: setTextColor( newForm, rgb(81,144,0) ) wPuts( newForm, "This text is in green" ) in your onPaint event, & you will get the text printed in green IN THE WINDOW; I'll bet, however, that you were thinking you could use this to control the color of the text in your controls?? Dan ----- Original Message ----- From: "LEVIATHAN" <leviathan at USWEST.NET> To: <EUPHORIA at LISTSERV.MUOHIO.EDU> Sent: Thursday, August 24, 2000 7:28 PM Subject: Next question... > Hmm... > > So, I start my next question... > > I've got setTextColor set to a decimal value, or set to an rgb() value... > > yet whether or not I throw it in a onPaint, the desired color, > (something other than black) doesn't come up. > > Yet another newbie-style question, sorry :) > > TIA, > > --"LEVIATHAN"
3. Re: Next question...
- Posted by LEVIATHAN <leviathan at USWEST.NET> Aug 24, 2000
- 443 views
- Last edited Aug 25, 2000
> Put this: > > setTextColor( newForm, rgb(81,144,0) ) > wPuts( newForm, "This text is in green" ) > > in your onPaint event, & you will get the text printed in green IN THE > WINDOW; I'll bet, however, that you were thinking you could use this > to control the color of the text in your controls?? > > Dan > Yup, thats where I am stuck :) Trying to control color of text in the Statictext controls (LText, RText, CText) Is there a way to have the control colors turn other colors? TIA, Blessed Be! --"LEVIATHAN"
4. Re: Next question...
- Posted by David Cuny <dcuny at LANSET.COM> Aug 24, 2000
- 435 views
- Last edited Aug 25, 2000
"LEVIATHAN" wrote: > Is there a way to have the control colors turn other colors? No, sorry. Technically, it's possible. Practically, I decided that it would be a bad idea. For example, it might seem that setting a particular button to Red is a good plan - but what if the user already has selected a red color scheme? Microsoft makes this sort if mistake in some of their application wizards. If you change your settings so that windows are black (don't laugh - I've done it) and text is bright white, the text in the _wizards_ is *still* black, because it's hard coded. So I figured the best plan was to respect the user's color scheme. But since I'm no longer the primary coder, you might talk Matt into adding that feature. -- David Cuny
5. Re: Next question...
- Posted by Asif Masood Baloch <cyberego at QTA.PAKNET.COM.PK> Aug 25, 2000
- 439 views
- Last edited Aug 26, 2000
I am sure that there is a method for color conversion. Please ask senior coders. Thank You -Asif
6. Re: Next question...
- Posted by Kat <gertie at PELL.NET> Aug 25, 2000
- 424 views
On 25 Aug 2000, at 22:44, Asif Masood Baloch wrote: > I am sure that there is a method for color conversion. Please ask senior > coders. > > Thank You > > -Asif Isn't that exactly what he is doing? Or did i miss something? Kat