View Single Post
  #2 (permalink)  
Old 12-11-2007, 03:01 PM
klaus's Avatar
klaus klaus is offline
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Switzerland
Posts: 677
Awards Showcase
Beta Tester Competition Winner 
Total Awards: 2
Default

Hello miklquick
Try the program below, I think it is what you are looking for.
Of course there are different ways to program it, this is one.
You can adapt it to your application

The return value of first button in the MsgBox is not 6.
The 6 means that the 'Yes' button was pressed, this is only valid if you select cMsgBoxYesNo or cMsgBoxYesNoCancel.
With the MsgBox you should better use the constats cYes, cNo etc.
If you select for example cMsgBoxAbortRetryIgnore the return value of the first button will be cAbort = 3

I hope this helps you, best regards

Klaus
Switzerland
Attached Files
File Type: sbp DialogFormNew.sbp (3.7 KB, 28 views)
Reply With Quote