Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Delete from Grid
Message
 
 
À
18/02/2011 09:22:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01500698
Message ID:
01500705
Vues:
65
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform