murug86
Posts: 52
Joined: Mon May 21, 2012 10:59 am

UI controls while installation

Hi..

During my installation. I have a custom dialog, where i have two radio buttons: LDAP, DB.
If the user selects LDAP, i have a set of labels & edit boxes to be displayed; similarly another set of ui controls to be displayed when the DB is selected.
ldap-db.png
ldap-db.png (23.16 KiB) Viewed 3303 times
Which ever radio button is selected, only the label & edit box to its right should be visible.

How do i go about doing this ?
murug86
Posts: 52
Joined: Mon May 21, 2012 10:59 am

Re: UI controls while installation

These things always occur to me ONLY after i make a post...

Answering my Q myself, again..

Set the Label & Edit box 's properties' Visible : False

Then use a new "Control Condition" on the label & the edit box:
Condition: ( RADIOBUTTONGROUP_2_PROP ) AND ( RADIOBUTTONGROUP_2_PROP = "LDAP" )
where RADIOBUTTONGROUP_2_PROP = the property name of the radio button group
and "LDAP" is the Value of the 'Ldap login' radio button option.
Action : Show

Return to “Building Installers”