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

Dialog mit Radio-Buttons?


1 reply to this topic

AndreasH

AndreasH
  • Members
  • 4 posts

Posted 28 March 2002 - 11:51

Hallo,

ich hab vor länger Zeit eine Installation mit InstallShield 5.5.1
Professional erstellt und muss dieses jetzt erweitern.
Wie kann ich einen Dialog mit 3 Radio-Buttons darstellen?
Ich habs schon versucht mit SdAskOptions und
SdAskOptionsList, aber irgendwie funktioniert das nicht!

Danke
Andreas

EberhardH

EberhardH
  • Members
  • 137 posts

Posted 04 April 2002 - 10:17

Hallo Andreas,

folgendermaßen sollte es gehen:
Code Sample

   SetDialogTitle(DLG_ASK_OPTIONS, "Do you want to ...?");
   bvOpt1 = TRUE;   //this is the default selection
   bvOpt2 = FALSE;
   bvOpt3 = FALSE;
   nRet = AskOptions(EXCLUSIVE, "Please select one of these Options",
                                   "Text for Option &1", bvOpt1,
                                   "Text for Option &2", bvOpt2,
                                   "Text for Option &3", bvOpt3);
   if (nRet = BACK)
      ...
   endif;

   //now check the returned states of bvOpt?
   if bvOpt1 then
       ...
   endif;



Gruß
Eberhard