Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,619 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
WINSTART QUESTION #251417
02/12/09 23:36
02/12/09 23:36
Joined: Apr 2006
Posts: 737
Ottawa, Canada
O
Ottawa Offline OP
User
Ottawa  Offline OP
User
O

Joined: Apr 2006
Posts: 737
Ottawa, Canada
Hi!
I'm making a starter file and I have a few questions.

Question no 1 :

With the code line :
Quote:

SET FONT "font", RGB(r, g, b);


Is it possible to have bigger fonts as in "Arial#36b" in the WINDOW WINSTART ?

If so, how?

Question no 2 :

I wanted to place a few line feeds in my text with "\n" :
Quote:

TEXT "text", x, y;
Prints the given text at the x, y position of the window. Line feeds within the text can be given by "\n".


Since this did not work I made many TEXT lines as a workaround.
Does "\n" work?

Question no 3 :

Is there a limit to the numbers of characters per line in TEXT?
ERRNO 288.289 came up after a very long line (more than the width of screen).
When I shortened the line the starter file was created.


Hope this helps!
Ottawa laugh

Ver 7.86.2 Pro and Lite-C
Re: WINSTART QUESTION [Re: Ottawa] #251461
02/13/09 08:18
02/13/09 08:18
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
lite-C font attributes like "#36" or '#b' can not be used in the FONT tag.

"\n" appears to have no effect, so using several TEXT lines is the solution. This will be documented.

There is no limit for the text buffer, but the text must stay inside the window.

Re: WINSTART QUESTION [Re: jcl] #251540
02/13/09 16:22
02/13/09 16:22
Joined: Apr 2006
Posts: 737
Ottawa, Canada
O
Ottawa Offline OP
User
Ottawa  Offline OP
User
O

Joined: Apr 2006
Posts: 737
Ottawa, Canada
Hi!

Thanks for the answer and the information. smile

If the font file was only in #36 format would that work?
I will explore.


Hope this helps!
Ottawa laugh

Ver 7.86.2 Pro and Lite-C

Moderated by  old_bill, Tobias 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1