Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids DblClick Issue
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00425490
Message ID:
00425563
Vues:
24
>>I subclass a grid with columns count = -1. Then I drop it to a form. After that I change the column count value to 4 and replace the 4 textboxes that the grids automatically inserts with my subclass of a custom textbox. In my custom textbox I have code in the Dblclick event that must trigger when the user doble click it in the grid. The problem is that when i run the form with the grid that contains my custom textbox in each of the 4 columns the dblclick event does't fire when I double click it.
>
>
>Francisko, if you would not say "replace the 4 textboxes with my subclass" I would think that .CurrentControl column property is stll pointing to the default textbox. Did you try to check the textboxes at runtime in the debugger to make sure that they are your custom classes and nothing strange is going on?

In addition, do not forget to set Visible property of all textboxes to .T. after you added them.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform