This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- How to bold dynamic text in a dialog box
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 21, 2019
09:40 AM
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 ";
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 21, 2019
10:02 AM
Hi @ralphster,
Try CtrlSetFont function, more information can be found at the below link:
https://helpnet.flexerasoftware.com/installshield22helplib/installshield22helplib.htm?#StartTopic=Subsystems/installshield22langref/helplibrary/LangrefCtrlSetFont.htm
Try CtrlSetFont function, more information can be found at the below link:
https://helpnet.flexerasoftware.com/installshield22helplib/installshield22helplib.htm?#StartTopic=Subsystems/installshield22langref/helplibrary/LangrefCtrlSetFont.htm
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 22, 2019
02:12 PM
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",