Changing Text of Static Label/Static Text control Runtime

Got a problem you cannot solve? Try here.
Post Reply
rajeshjeet
Posts: 7
Joined: Wed Sep 06, 2006 7:17 am
Location: Bangalore
Contact:

Changing Text of Static Label/Static Text control Runtime

Post by rajeshjeet »

Hi As i m evaluating IA i had come across few issues:

Is it possible to change the content (caption) of Static Label or Text at Runtime
If i had added Label control from standard tab ,i can set caption at design time but i wanted to change the information at run time. I checked in object behaviour only perform action is enabled and this label cannot be associated with any varialbe so that if value of variable changes caption of label should also change.

secondly if i choose static text control from Additional controls available in toolbar then it can receive information from a list of varialbes like Installation Progress,component Description,component req space etc which is not my req i need to display data at run time with respect to information available in my configuration file in some key
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

Set the caption of your label to $SOME_VARIABLE$. And in your script before showing the dialog, set SOME_VARIABLE to the desired value to display.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Post Reply