Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to create a popup menu in the grid's TEXT control?
Message
 
À
28/08/2013 00:33:20
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP3
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01581586
Message ID:
01581587
Vues:
63
>Hi,
>I want to popup a menu when user right click the mouse on
>the cell (TEXT1 control) of the grid.
>
>How to do it ? need any third party class ?
>
>Please advise.
>Thanks.
>Derek

If you want every grid to have this option:

1. Make your own class based on TextBox.
2. In RightClick event make your POPUP.
3. Then make a class based on Column and use your TextBox class as a default control.
4. Then make a class based on grid and use your column class as a default.

If you want just THIS grid and THIS Column have an option to have POPUP:
In the rightclick event of the textbox control put POPUP creation code.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform