Jump to content

Changing color or font of a text (or part of a text) in an existing control


Recommended Posts

Is there an option how to change the font of some text in an existing control?

eg. lets say I use SplashTextOn ( "title", "text" [, w [, h [, x pos [, y pos [, opt [, "fontname" [, fontsz [, fontwt ]]]]]]]] ) to generate a text.

Now I change it by ControlSetText ( "title", "text", controlID, "new text" [, flag] )

Can I change the color or the font of that text as well?

Also is there a way how to use 2 different fonts in the same message? Particularly I want something like this text:

"font size can be 1 2 3 4 ...... 24 32 36"

I want to display each number using the same font size. i.e. 24 displayed using font size 24; 32 displayed using font 32, ...

Is it possible?

Thanks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...