Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid ActiveRow always returns 0
Message
From
16/05/2004 03:55:23
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00904000
Message ID:
00904421
Views:
43
David,

No, of course you are absolutely right - once it works, it'll never be zero again, except if there are no records in the grid.

It just seems a very roundabout way of achieving it.

What bothers me most though, is that calling the SetFocus fires the .Page.Activate event.

This puts some limitations to what one can do in the .Page.Activate method.

Got to look up RecordMark, that's one I must have missed.

Thank's for your help and have a pleasent sunday.

Peter

>Peter,

>Let me ask you a couple of questions though about the code you posted. When does nActiveRow have a 0 value? Once the grid has gained focus will it ever be 0 again?
Peter Pirker


Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?

(Woody Allen)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform