PDA

View Full Version : New Finish Dialog


forum
02-21-2007, 02:12 PM
This is simple... only with Factory

1. Delete your default Finish dialog
2. Put dialog check buttons. Import 2 check buttons
3. Diasbla all button except Finish
4. onNext put this script


result1 = DlgCheckBox.GetProperties(CTRL_CHECK_BOX_01);
-- These actions are performed before the screen is shown.
result2 = DlgCheckBox.GetProperties(CTRL_CHECK_BOX_01);
sApplication = "%AppFolder%\\Centrala.exe"
if (check01) then
File.OpenURL('http://www.yourfirmsait.com/', SW_SHOWNORMAL);
end;
if (check02) then
File.Open(SessionVar.Expand("%AppFolder%\\Centrala.exe"), '%AppFolder%\\', SW_SHOWNORMAL);
end;
error = Application.GetLastError();
if (error ~= 0) then
Dialog.Message("Error_1", _tblErrorMessages[error], MB_OK, MB_ICONEXCLAMATION);
end;
Screen.Next();
if Dialog.Message('Restart', 'Do you wana to restart?', MB_YESNO, MB_ICONQUESTION, MB_DEFBUTTON1) == IDYES then
System.Reboot();
else
Application.Exit(0);
end;

ansmith
04-07-2007, 02:36 AM
hi,

Good smaples for beginner, I am just newbie here,

Thanks.

euverve
09-29-2009, 03:11 AM
Any screen shots?