Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trapping changes in Grid cells
Message
From
05/11/2003 14:46:49
 
 
To
05/11/2003 14:05:02
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00846055
Message ID:
00846732
Views:
28
i've never had these events not fire, so i apologize in advance if some of my questions seem patronizing - just trying to help :)

so what about the 2nd question: is this a base grid or a subclassed grid?

After changing the value are you then moving off the column/row? if you don't move they don't fire [ i apologized already, don't forget :)]


>Right now, I've got wait windows in the beforerowcolchange and afterrowcolchange events. Neither is showing. I can change the value of the cell, but not much beyond that is going on as far as I can tell.
>
>
>>I'd try putting in something other than a suspend, like
>>activate window "debug output"
>>Debugout Program()

>>in your events your trying to use (textbox.LostFocus(), textbox.GotFocus(), grid.AfterRowColChange(), etc.)
>>
>>is this grid based on a subclass or is it an instance of the vfp base class? If it's a subclass, try testing on another form using the vfp base class instead and see what happens.
>>
>>>As far as I can tell...it never fired. And "As far as I can tell" includes putting a 'suspend' in the event and it never suspended.
>>>
>>>
>>>>what do you mean by "ignored"? - did the event fire?
>>>>AfterRowColChange() is what I've always used to do this very thing...
>>>>
Insanity: Doing the same thing over and over and expecting different results.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform