Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids ...
Message
De
04/08/2000 08:30:17
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Divers
Thread ID:
00400922
Message ID:
00400946
Vues:
16
>Hi All:
>
>I have a problem with a run-time created grid.
>
>How do i assign the right click method to a text box in the grid ?
>In the begining of the form the grid as -1 columns (because the content changes a lot!), as the grid is created , i make the new columns and assign controlsource's to the new grid columns.

Create a subclass of the textbox class, and programmatically add an instance of the subclassed textbox to the column, making the subclassed textbox the column's CurrentControl.

>
>The problem is that i need (much) a right click event on the grid , but when i right click the grid , is always the text box right click event that is called and , of course , that one is empty !
>
>TIA
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform