Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Delete from Grid
Message
 
 
To
18/02/2011 09:22:13
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01500698
Message ID:
01500705
Views:
63
>Dear Experts
>
>I have following codes in VALID event of grid
>
>ON KEY LABEL CTRL+D 
>
>
>then following lines is on WHEN event of grid
>
>ON KEY LABEL CTRL+D DELETE
>
>
>When user press CTRL+D then current record is deleted.
>
>I want to displays this message box before deletion
>
>Are you sure to delete current record?
>
>What will be the best procedure to delete from grid with confrirmation messagebox.

I suggest instead of using Ctrl+D OKL switch to use form's KeyPress instead. This way you will be able to produce any messageboxes you want.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform