Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bindevents and grids text control
Message
From
07/03/2004 14:28:12
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00883842
Message ID:
00883920
Views:
12
Glen,

I have grids doing more than display. This one fooled me because I was not refeshing the button (not in grid) after changing the enabled property.

>Grids are cranky people!
>Just goes to show you, the grid is not meant for much beyond presentation.
>
>Glenn
>
>>Hi All
>>
>>Vfp8 sp1
>>
>>UPDATE:
>>I found the answer. I was not refeshing the button after setting the enabled property.
>>
>>I have a textbox that I use in a grid that uses the interactivechange event to change a property on my form ilDatatoUpdate. I use this to enable and disable certain command buttons on my form. Each command button binds a method with the form property to change the enabled property. This is working fine in all my controls except in a grid. When I change a cell in my grid, the buttons don't change until I move out of the grid. In the debugger I can see the value of thisform.ilDatatoupdate changes but bind method does not fire until I move to the next cell.
>>
>>Any help would be appreciated.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform