Solved! Go to Solution.
I know this thread is a little old, but just in case anyone else was wondering...
I don't know of a way to hide the Cancel button, but you can override it.
dim result
result = Msgbox("You have clicked the Cancel button. This will cause the form to close." & vbcrlf & "Are you sure you want to quit?", 1 ,"Cancel Verification")
if result = 2 then
thisevent.result=false
end if
Add this script to the OnQueryCancel event in the Page Properties of the form.
Cheers!
I know this thread is a little old, but just in case anyone else was wondering...
I don't know of a way to hide the Cancel button, but you can override it.
dim result
result = Msgbox("You have clicked the Cancel button. This will cause the form to close." & vbcrlf & "Are you sure you want to quit?", 1 ,"Cancel Verification")
if result = 2 then
thisevent.result=false
end if
Add this script to the OnQueryCancel event in the Page Properties of the form.
Cheers!