Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / dbSetTextColor does not change text colors...

Author
Message
Barnski
18
Years of Service
User Offline
Joined: 26th Jan 2006
Location: Switzerland, Zurich
Posted: 8th Jul 2007 03:06
Update 120307



What am I doing wrong that the text color is always white??

I am not sure, but I think I have come across this problem alrady, but that was at least 1 year ago and I could not find anything about this in the forum.

Thanks.

Chalkey
17
Years of Service
User Offline
Joined: 25th May 2007
Location:
Posted: 8th Jul 2007 03:35
To Barnski

This could actually be a bug. The command dbSetTextColor is picked up by VC Intellisense but there is no mention of it in the manual. Maybe it has not been implemented or maybe were both using it wrong ...

I'd like to see what other people say, but in the mean while you can use the dbINK command...



The reason why I commented out the dbSetTextOpaque command is because if you call this function, then the text is drawn with a background colour as well - which is set also by the dbInk command (e.g. dbInk(forground, background).

Hope this is useful
Andy
Barnski
18
Years of Service
User Offline
Joined: 26th Jan 2006
Location: Switzerland, Zurich
Posted: 8th Jul 2007 09:30
Ah right, dbInk(). I forgot that one

Thanks Andy!

Login to post a reply

Server time is: 2024-10-09 00:25:23
Your offset time is: 2024-10-09 00:25:23