Page 1 of 1

Access object property of a dialog control

Posted: Wed Jun 23, 2010 8:43 am
by smilyface
Hi,

how can I set a value of an object property of a dialog control like this?

Code: Select all

if Variable STANDARDINSTALLATION Equals TRUE
 Set Dialog.MyDialog.chkDoThis.Visible to FALSE
end
Greetings Frank

Re: Access object property of a dialog control

Posted: Wed Jun 23, 2010 5:47 pm
by MichaelNesmith
You do this in the dialog editor, not the MSIcode script. Take a look at the built-in dialogs that ship with sample projects, as well as the built-in themes, for examples.