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

act on pressing cancel


4 replies to this topic

flo

flo
  • Members
  • 113 posts

Posted 14 August 2001 - 08:38

hi,
i´ve got one window that opens another if the cd is not entered. the other one is a sprintfbox with the option ok and cancel.
i want to get back to the dialog, that started the sprintfbox dialog, if cancel is pressed.
how can i do that? now i have placed an abort; when clicking cancel. but that aborts everything, so all windows will be closed.

thanks cu


lasenbby

lasenbby
  • Members
  • 744 posts

Posted 14 August 2001 - 14:38

(Edited by lasenbby at 4:29 pm on Aug. 14, 2001)


flo

flo
  • Members
  • 113 posts

Posted 14 August 2001 - 15:41

isn´t the oncancel event only for the "main" setup cancel (the whole setup process canceling)?
i use an askoptions dialog box with ok and cancel.


lasenbby

lasenbby
  • Members
  • 744 posts

Posted 14 August 2001 - 16:27

Your right flo.

nResult = SprintfBox (...
if nResult = 2 then
 goto DialogToDisplayAgain;
endif;

works for yes|no|cancel option...so it should work for ok|cancel