Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids ...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Divers
Thread ID:
00400922
Message ID:
00400947
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.
>
>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

You could create a sub-classed textbox with the code required in the .RightClick event. You will need to programmatically add that textbox to a grid column and then set the .CurrentControl property to the newly added textbox.

Steve
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform