Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Browse Macro
Message
From
17/03/2004 22:31:45
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
17/03/2004 22:13:53
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Miscellaneous
Thread ID:
00887379
Message ID:
00887383
Views:
10
This message has been marked as the solution to the initial question of the thread.
>I am documenting the process of setting up some metadata for some of my coworkers. To facilitate the process I am putting screen shots of VFP browse windows in the document. I figured out awhile ago that it makes the screens much easier to copy if I define a window in the desktop to browse in so I don't have to clip the picture later.
>
>SO, if you follow that this code might make sense:
>
>
USE sample.dbf
>define window test from 1,1 to 10,10 in desktop name lowindow font "ariel" 10 float grow
>activate window test
>browse last
>
>This works, and is a great improvement over clipping every bitmap.
>
>The problem is this isn't quite good enough for me ... I want a macro or intellisense that defines the window and lets me browse in a keystroke or two.
>
>Any great ideas?
>
>I attempted a macro and failed miserably.

It seems it would be easier if you wrote a simple form, which will have the table's name passed as a parameter, would USE it in .init(), and in its .show() method it would have
browse last window (this.name)
Just make the form resizable. Then all you'd have to do is
do form mybrowse with "sample"

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform