11-11-2007 10:57 AM
11-12-2007 10:07 AM
OK, I see how to set the Font size, a "Aa" icon button in the Text and Button tab. Now is there a way to set the pop-up message size to a fixed size??
richjoh
11-12-2007 10:32 AM
richjoh -
If you are asking to set the size of the prompt window independent of the message size, the answer is no. The code for the step automatically trys to figures out the minimum space needed to display the required controls. In the past I have padded the title with spaces to ensure that the message is larger than it wanted to size it automatically.
11-12-2007 02:53 PM
11-13-2007 10:02 AM
03-18-2013 07:23 AM
Sorry to revive an old thread, but where can I find MsgFontData.Size ?
03-18-2013 09:01 AM
It is a step property so:
Step.MsgFontData.Size = ?
Hope this helps,
03-18-2013 09:04 AM
Sorry if you want to look at it during edit time then click on the Message Popup step of interest. Under the Properties tab choose Property Browser. In the right pane you should see a variable called MsgFontData. Expand it and you will see the Size subproperty.
03-18-2013 10:10 AM
Thanks I found it.
Is there a way to set a global font size? I need to change approx 200 popup merssages and was hoping the was a single place which would affect all popup messages.
03-18-2013 03:58 PM
Unfortunately I am not aware of a global solution. The best would be changing the step type definition. However, that is not possible since this is a native step.
You can select all the steps at once and change the setting.
One thing that I've done in the past is make file global of type NI_MsgBoxFontData. Then I made a Message Popup template step with a pre-expression which said something like: Step.MsgFontData = FileGlobals.MsgFontData. Then I could do "skins". I also did the same type of thing for the ButtonFontData. Then whenever I needed a Message Popup step I'd grab it from my templates instead of my palette. I also turned off recording.
Anyhow, since they already exist you will have to go through the pain. Sorry.
Hope this helps,