NewsArchive
09-07-2010, 01:23 AM
Strange behaviour :
set variable %OV_OVERLOPEN_INSTELLINGEN% to "1"
Define wizard dialog "OVERLOPEN" : this dialog has only a check box
referencing %OV_OVERLOPEN_INSTELLINGEN%
Several wizard dialogs
Define wizard dialog "EINDE"
Loop Wizard (Abort Dialog Ative)
If %SB_DIALOGID% Equals "$OVERLOPEN$" Then
IF %OV_OVERLOPEN_INSTELLINGEN% Equals "0" Then
Hide Wizard Dialog & names of the several dialogs to skip
End
End
End
When I run this , it works.
First dialog, checkbox is set, all dialogs are executed.
when the user unchecks the checkbox in the first dialog, the dialogs are
skipped and the last dialog is shown.
Everything perfect.
Now I change the initial value of the variable :
set variable %OV_OVERLOPEN_INSTELLINGEN% to "0"
So the default will be to skip all dialogs except the last one
When I run it, and don't touch the checkbox, dialogs are skipped. All ok.
When I run, and set the checkbox in the first dialog, other dialogs are skipped
as if I didn't set the checkbox.
So with default/initial value of 1 it works, with default/initial value of 0,
it doesn't work.
I don't find why.
What am I forgetting or doing wrong?
Thanks
Hans Vinckier
set variable %OV_OVERLOPEN_INSTELLINGEN% to "1"
Define wizard dialog "OVERLOPEN" : this dialog has only a check box
referencing %OV_OVERLOPEN_INSTELLINGEN%
Several wizard dialogs
Define wizard dialog "EINDE"
Loop Wizard (Abort Dialog Ative)
If %SB_DIALOGID% Equals "$OVERLOPEN$" Then
IF %OV_OVERLOPEN_INSTELLINGEN% Equals "0" Then
Hide Wizard Dialog & names of the several dialogs to skip
End
End
End
When I run this , it works.
First dialog, checkbox is set, all dialogs are executed.
when the user unchecks the checkbox in the first dialog, the dialogs are
skipped and the last dialog is shown.
Everything perfect.
Now I change the initial value of the variable :
set variable %OV_OVERLOPEN_INSTELLINGEN% to "0"
So the default will be to skip all dialogs except the last one
When I run it, and don't touch the checkbox, dialogs are skipped. All ok.
When I run, and set the checkbox in the first dialog, other dialogs are skipped
as if I didn't set the checkbox.
So with default/initial value of 1 it works, with default/initial value of 0,
it doesn't work.
I don't find why.
What am I forgetting or doing wrong?
Thanks
Hans Vinckier