Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Gotfocus for Images in Grids?
Message
From
22/02/2005 12:09:56
 
 
To
21/02/2005 19:32:44
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Environment versions
Visual FoxPro:
VFP 7 SP1
Miscellaneous
Thread ID:
00989042
Message ID:
00989306
Views:
16
> Add a transparent commandbutton and uses the commandbutton GotFocus.

Hi Fabio,

I tried this but the GOTFOCUS of the command button still doesn't ever seem to get fired.

Here's what I got:

In the DynamicCurrentControl of the column I have the following code:
IIF(ThisForm.Grid1.ActiveColumn=ThisForm.grid1.Column6.ColumnOrder AND ThisForm.Grid1.ActiveRow = RECNO(),"cmdMVR","imgMVR")
And Sparse = .f.

Then I have an image and command button in the column. regardless of whether the image control is first or second, the command button never fires it's got focus when I click on that column.

Any ideas what I'm doing wrong?
Thanks!
Previous
Reply
Map
View

Click here to load this message in the networking platform