Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Forcing new record to top of Browse window in Edit mode
Message
From
30/06/1999 19:17:37
 
 
To
30/06/1999 18:30:19
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00235664
Message ID:
00236213
Views:
19
>There may be a harder way to accomplish this - in Browse Valid, you could go to the first visible record, Show window... refresh, then go back to your current record, and then return .t. - one method which always refreshed the Browse ever since FP1.01 was to issue another PageUp when you're on the top visible record, and this may simulate it.
>

I'm not sure what you mean by 'in Browse Valid'. Is that a method?

Right now I'm just executing a BROWSE from procedural code.

Actually, I have another thing to try as far as sizing the browse window. Previously, I had sized the browse window by creating a UDW then opening up the browse inside of it. To try to cut down on the height of the browse window (so VFP would think the next record was out of the visible pane), I modified the height of the UDW in which the Browse window was displayed.

Another thing I'd like to try is using the NAME clause so that I can reference the grid control VFP creates when I invoke the BROWSE command. It stands to reason that if I change the height of the grid control, I just might be able to get the effect I want. Now I have a new problem. I do not know how to reactivate the Browse window (the grid control) from procedural code after I have reset the height. My basic plan would be as follows.

BROWSE NAME bgrid NOWAIT

bgrid.height =



I'm not sure how to . Do you know how?
"The Iron Fish: The water is cold...but the fish don't mind"
...Jay Jenks, boyhood chum
Previous
Reply
Map
View

Click here to load this message in the networking platform