Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Disabling RadioButtons


2 replies to this topic

Dave I

Dave I
  • Members
  • 195 posts

Posted 19 February 2001 - 11:07

I want to conditionally disable a single button in a Radio button group - Although I dont think this is possible.  

Besides creating duplicate Radiobutton groups with different options and hiding the nonrelevant groups.  
Is there any tidier installscript based solution out there?

In know its a longshot but thanks in advance.


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 19 February 2001 - 12:16

"Radio buttons are not treated as individual controls, but they are part of a radio button group that functions as a control. " Therefore it's not possible to disable a single radio button, just the whole group, in Windows Installer dialogs.

You can call InstallShield dialogs from installScript (with some limitations), so you might be able to disable a radio button this way. Note however that you can't mix WI dialogs and InstallScript dialogs in one Next/Back sequence.