Changing Text of Static Label/Static Text control Runtime

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

Changing Text of Static Label/Static Text control Runtime

Postby rajeshjeet » Mon Sep 11, 2006 1:49 am

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:

Postby MichaelNesmith » Mon Sep 11, 2006 7:14 am

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
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 47 guests