Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Image in grid not receiving click event
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01044500
Message ID:
01044502
Views:
11
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform