Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Re-ordering Grid
Message
From
01/04/1997 15:48:56
 
 
To
01/04/1997 15:46:00
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00026434
Message ID:
00026460
Views:
35
>>>Okay- a new revision to the problem. What I was trying the first time was working- I just didn't notice because of this: the top record in the _grid_ was being preserved... not the one with a highlighted field. When I tab back and forth, the top record stays put, the rest of them get re-ordered around. I see two possible ways out- either make sure that only the top record gets highlighted by making the grid scroll with each up and down movement of the cursor (I haven't a clue how to go about this) or, each time the user tabs back and forth, before re-ordering, re-orient the grid to put the highlighted record on top. Any clues on how to go about this?
>>
>>When you change active tag, record pointer stays on the same record! Basically, your problems will be resolved if you will change tag and Refresh grid (I assume it's better that Form.Refresh.) in AfterRowColChange Event.
>
>Are you saying that simply tabbing down to a record in the grid doesn't move the record pointer? I didn't think this was the case. Tabbing has always been enough for me to select a record when using a grid as a selector. Maybe I'm not understanding your suggestion. Please be patient, and thanks for your help.
>
>Erik

I just meant that SET ORDER TO TAG ... doesn't change RECNO().
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform