I am sure that grids can be made to accomplish many sophisticated tasks, and I commend you for coralling this beast, but they ARE kinda cranky. They almost seem to behave like an ActiveX control and march to the beat of a different drummer.
I have used grids for all sorts of work but I routinely avoid data input. I have spent many hours trying to get it to perform reliably in complex forms. I no longer use grids for much else than display and record selection, then use other (simpler) UI elements for behavioral functions.
Just my 2c worth.
Glenn
>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.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement