Board Logo
« Window Textbox Questions »

Welcome Guest. Please Login or Register.
Mar 27th, 2017, 5:26pm


Conforums Terms of Service | Membership Rules | Home | Search | Recent Posts | Notification | Format Your Message | Installation FAQ

Please use the forums Search feature before asking.
Please post code using the code box described in Format Your Messages.
This will keep indentation, separate it better form the message and prevent gibberish.
If the code is too long for one post or additional files are needed, upload a ZIP archive to the Just BASIC Files Archive Site.

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Window Textbox Questions  (Read 44 times)
wvgca
New Member
Image


member is offline

Avatar




PM


Posts: 17
xx Window Textbox Questions
« Thread started on: Mar 20th, 2017, 02:49am »

I can change the textbox background color easily ...
but can not figure out how to change the color of the text within the textbox...
and is the textbox border able to be changed to 'not visible' ?
thanks
User IP Logged

Rod
Administrator
ImageImageImageImageImage


member is offline

Avatar

Graphics = Goosebumps!


PM

Gender: Male
Posts: 2987
xx Re: Window Textbox Questions
« Reply #1 on: Mar 20th, 2017, 04:25am »

ForegroundColor$ = "yellow" Use this special variable before you open the window. The down side is that it will change the text color for all controls on the window.

You can do everything you ask in Liberty BASIC with stylebits and API but not in Just BASIC.

The reason color support is relatively poor is that the USER is supposed to choose the style, size and color contrast that displays on his computer. So using the default colors was what everyone did back in the old days when Just BASIC was designed.

If you want color in Just BASIC then use a graphicbox, that's the easiest fix. Even moving to Liberty BASIC coloring controls can be a pain.
User IP Logged

wvgca
New Member
Image


member is offline

Avatar




PM


Posts: 17
xx Re: Window Textbox Questions
« Reply #2 on: Mar 20th, 2017, 04:59am »

Thanks.. it wasn't a 'have to have', just a cosmetic thing ..
appreciate it smiley
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

Conforums Terms of Service | Membership Rules | Home | Search | Recent Posts | Notification | Format Your Message | Installation FAQ

Donate $6.99 for 50,000 Ad-Free Pageviews!

| |

This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls