Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Messagebox
Message
From
08/06/2009 23:48:47
 
 
To
08/06/2009 23:33:14
Muthu Vel
Sty Company
India
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01404626
Message ID:
01404627
Views:
53
Hi Muthu.

All you need to do is wrap your printing code in something this -
if MessageBox("Do you want to print?", 4+32+256, "Confirm Print") == 6
Printing Code here
EndIF
If you want it to default to Yes then leave the +256 out.

Ian Simcock.


>I have create "print .scx" and I have written code, now I want before the printing the Message Box will appear and ask "DO YOU WANT TO PRINT" YES OR NO. if yes I want print the record, if no means exit from print form.
>
>How to write code?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform