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.

Newcomers DBPro Corner / INK command not working right

Author
Message
statichash
15
Years of Service
User Offline
Joined: 22nd Sep 2009
Location:
Posted: 7th Dec 2012 22:51


This code should print "Red on Yellow" with red text on yellow background but it prints red text on black background. The background parameter is not working for the INK command.

Did something change?
I have DBPro version 1.0761
Chris Tate
DBPro Master
16
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 8th Dec 2012 15:46
Use SET TEXT OPAQUE before any native text operations if you want text to contain a background fill. By default, DBPRO uses transparent text backgrounds; which can be restored using SET TEXT TRANSPARENT.

statichash
15
Years of Service
User Offline
Joined: 22nd Sep 2009
Location:
Posted: 9th Dec 2012 01:07
Thank you!

Login to post a reply

Server time is: 2024-11-21 18:49:19
Your offset time is: 2024-11-21 18:49:19