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

How to disable some objects of a custom dialog


6 replies to this topic

kgiloo

kgiloo
  • Full Members
  • 60 posts

Posted 19 October 2006 - 10:15

[BASIC MSI]
Lets assume that I have a radiobutton group (property RADIOPROP) with 2 radio buttons and some other edit boxes, static texts etc...

Depending on the clicked radio button I want to enable/disable the other objects of the custom dialog.





kgiloo

kgiloo
  • Full Members
  • 60 posts

Posted 19 October 2006 - 15:54

I was wrongly looking in the dialog behavior editor.
This things take place in the direct editor.

Additional Tools - Direct Editor - ControlCondition dry.gif

MyDialog / EditBox / Disable / RADIOPROP=1
MyDialog / EditBox / Enable / RADIOPROP=2



Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 20 October 2006 - 07:28

Dialog Editor > Dialog Behaviour > Conditions tab (the tabs are at the bottom edge)

kgiloo

kgiloo
  • Full Members
  • 60 posts

Posted 23 October 2006 - 14:03

I did try from the Behavior Editor but couldn't manage to do it. Therefore I did it with the direct editor with success.
May I ask you some details?
Thx

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 23 October 2006 - 15:27

In the beaviour view, select the radio group, switch to the conditions tab and add an Enable condition and a Disable condition. How far did you get, which steps should I explain in more detail?

kgiloo

kgiloo
  • Full Members
  • 60 posts

Posted 24 October 2006 - 16:07

OKAY.
I was only focused on the top. dry.gif

I suppose there's nothing I should insert 'manually' through the direct editor?
This is a more general question.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 24 October 2006 - 18:30

There are a few things that you can only do in the Direct Editor, but most of the time you don't really need it.