Text Style

Top  Previous  Next

If you want a particular message to have bold text, italic, underline or any other style combination, then you specify the global variable NMGLO:Style with the sum of desired styles before calling the Message() function. For example, like this:

 

 NMGLO:Style = FONT:Bold

 Message('What are you waiting for?|Buy me now!||(This message is bold)','Act now')

 

Will show as:

 

clip0025

 

You can combine styles adding them, like:

 

 NMGLO:Style = FONT:Bold + FONT:Italic

 NMGLO:Align = 'C'  !Centered

 Message('What are you waiting for?|Buy me now!||(This message is bold, italic and auto-centered)','Title')

 

Will show as:

 

clip0028

 

This is the list of available (and combinable) styles:

FONT:thin, FONT:regular, FONT:bold, FONT:italic, FONT:underline and FONT:strikeout.        

 

 

 

Old (version 1.x) method:

 

If you want a particular message to have bold text, then you can add the keyword @b@ at the beginning of your message. For example, the message

 

 Message('@b@What are you waiting for?|Buy me now!||(This message is bold)','Act now')

 

Will show the same as the first picture above. Note that the old method only allowed to use the bold attribute.