Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Image in grid not receiving click event
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01044500
Message ID:
01044513
Vues:
14
Thanks Craig (and Fabio) for the quick solution.

One thing Craig, you said it takes you normally two clicks to fire the method when you have an image embedded in a grid (one to click to the grid row, next on the image to fire the method).

What I am seeing is the click event 'never' fires. Not the first, second, third, or any click after clicking onto the grid row.

>Kenneth,
>
>What you are running into has been run into by myself and others - (first click when changing row or column, nothing... second click works). The only reliable way that I know of to get around this bug is to put the image control within a container and place an invisible commandbutton on top of the image. The commandbutton's click event will fire first time.
>
>>Hi all,
>>
>>I have a grid with several columns containing text controls and one column with an image control. In each of the text control I put code in the controls Click method. I did the same for the image control.
>>
>>When I click on any column in the grid the click method of the child control executes except in the column with the image control.
>>
>>I have tested an image outside a grid and the click method executes just fine.
>>
>>Does anyone know how to make this work or an alternative way to fire the method when I click on the column with the image control in the grid?
>>
>>TIA,
>>
>>ken
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform