cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
ralphster
Active participant

How to bold dynamic text in a dialog box

How can I bold dynamic text which is displayed on my dialog box. See my sample code below. Notice how I am able to use the "\n" escape code to add newlines. So does anyone know how I can bold my text? For example if I wanted to bold the text "InstallSheild" right after the word "Fantastic"?

string myMessage;

nyMessage="Welcome to the Installation ";

nyMessage=nyMessage + "\n\n\n\n We will be using the Fantastic InstallShield installer ";

Labels (1)
0 Kudos
2 Replies
Flexera banna_k
Flexera

Re: How to bold dynamic text in a dialog box

Hi @ralphster,

Try CtrlSetFont function, more information can be found at the below link:
https://helpnet.flexerasoftware.com/installshield22helplib/installshield22helplib.htm?#StartTopic=Su...
0 Kudos
ralphster
Active participant

Re: How to bold dynamic text in a dialog box

Hi Banna,

 

That won't work because I am trying to only bold one word in the string. For example in my example string, I only need to bold the word "Fantastic", 

0 Kudos