Gamestudio Links
Zorro Links
Newest Posts
Removing outliers from files
by AndrewAMD. 12/02/26 15:26
SGT_FW
by Aku_Aku. 11/30/26 08:19
Experiences with cTrader
by JeyKey II. 11/27/26 09:04
make a complaint
by EW_bytes. 11/26/26 23:00
FXCM => AVA Trade Plugin???
by Martin_HH. 11/25/26 21:59
No connection to MT4
by Martin_HH. 11/23/26 06:38
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
What are you working on?
by rayp. 11/20/26 18:10
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (AndrewAMD, Quad, Grant), 8,062 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
coloured text, text size #272494
06/18/09 11:08
06/18/09 11:08
Joined: Apr 2002
Posts: 117
Spain
Abstracto Offline OP
Member
Abstracto  Offline OP
Member

Joined: Apr 2002
Posts: 117
Spain
Hi,

im trying to make a text zone, using a panel as background,
and a TEXT to show some text lines, using a TTF font (i.e: Arial 12). AS this is a TTF, letters have different pixel width.

Well, i want to show the text with "hyperlinks", that is, it the text is black, over a white background, some of the text words are highlighted on blue.
I think the way to develop this is by using more than 1 TEXT,
using more TEXT controls as needed depending of the number of words or lines to show. But to put together all the lines or TEXTs, i need to know the size of every work or line.
Example:
One line
Another line with Hyperlink inside
Other line

Special line


If this is too complicate, i at least want to have coloures strings, that is, every string (normally printed on one line)can have a different color or other lines. The line color is supplied on another variable.
To do this, i need to know the size of the line: if the line is too long to be shown on only one line (line wrap), so i can occupy more than 1 line, and the following line (or TEXT), with a different color, will be next to the last previous line.
Example:

One line
Another line with Hyperlink
Other line
Special Line

Any help with this?
Thanks!

Re: coloured text, text size [Re: Abstracto] #272538
06/18/09 13:20
06/18/09 13:20
Joined: Apr 2006
Posts: 737
Ottawa, Canada
O
Ottawa Offline
User
Ottawa  Offline
User
O

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

I remember a discussion on this topic...maybe a search could help.


Hope this helps!
Ottawa laugh

Ver 7.86.2 Pro and Lite-C

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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