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
- :
- CtrlSetFont is not working, need help
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
Dec 16, 2019
10:14 AM
CtrlSetFont is not working, need help
I have a dilaog box with a text control on it (text area). I am trying to change the font for the text control but it is not working. The code compiles fine but the text does not change when the dialog box displays. Need help please?
#define DialogBoxId 222
#define TXT_CLIENT_NAME
begin
hFont1 = GetFont("Arial",18,STYLE_BOLD);
if(hFont1 = 0) then
MessageBox("Unabke to get Font",SEVERE);
endif;
CtrlSetFont("dlgDisplayInfo",hFont1,TXT_CLIENT_NAME);
0 Replies
