07.05.2015 Views

Bronze Edition Guide - True BASIC

Bronze Edition Guide - True BASIC

Bronze Edition Guide - True BASIC

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

134 BRONZE <strong>Edition</strong> <strong>Guide</strong><br />

CALL TC_win_SetFont(wid,”Times”,12,”Bold italic”)<br />

Where wid is the ID of the window you wish the font to apply to.<br />

You may change the font details any number of times, so it is possible to fill the screen<br />

with a variety of fonts in different sizes and styles, and in different colors, e.g.<br />

CALL TC_win_SetFont(wid,”Times”,12,”Bold italic”)<br />

Set Color 9 ! blue<br />

PLOT TEXT, AT 20,50:”This is an example”<br />

CALL TC_win_SetFont(wid,”Arial”,16,”Bold”)<br />

Set Color 12 ! red<br />

PLOT TEXT, AT 20,100:”of different fonts”<br />

CALL TC_win_SetFont(wid,”Helvetica”,10,”Plain”)<br />

Set Color 13 ! magenta<br />

PLOT TEXT, AT 20,150:”in various colors”<br />

Much of your programming effort will have been spent devising ways of getting user<br />

INPUT, and then even more time working out how to display the output data. The<br />

tools available in <strong>Bronze</strong>TC will make these tasks much easier and will give greater<br />

impact to your output.<br />

Remember that all the code you use with <strong>Bronze</strong>TC will run without any changes if<br />

you later upgrade to the <strong>True</strong>Ctrl and <strong>True</strong>Dial library modules. This is because<br />

<strong>Bronze</strong>TC is a cut down version of the <strong>True</strong>Ctrl library. Similarly <strong>Bronze</strong>TD is a<br />

reduced set of dialog boxes from the <strong>True</strong>Dial library.<br />

Demonstration programs featuring the objects in <strong>Bronze</strong>TC can be found in the<br />

Tbdemos folder.<br />

To use these features correctly you will need to refer to the <strong>Bronze</strong>TC manual which is<br />

located in the documents folder. This manual also contains details of <strong>Bronze</strong>TD dialog<br />

boxes.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!