Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rightclick a empty grid
Message
De
09/04/2018 13:19:30
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Divers
Thread ID:
01659262
Message ID:
01659267
Vues:
61
>>I have Grid that fills a Form. My design is that the user will RightClick the grid and get a list of options (add, delete, etc.) But if the Grid is empty, the RightClick (even the grid's) will not fire. The Grid can be empty often. Does anyone have any suggestions?
>>
>>Thanks
>
>Look at grid.GridHitTest method
>*

I finely resolved with a phantom record when empty. When displays it instructs the user to rightclick on that row access the menu. When a new row is added the phantom is removed. When all row are removed, the phantom row appears.
Greg Reichert
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform