General information
Category:
Visual FoxPro and .NET
>If I drag the form to the middle (display1.jpg), is there an easy way to put it back (display2.jpg) instead of manually drag it back?
>
>Thanks for the help
Not sure whether you're talking about an individual form or a whole application. In either case, you can set Left and Top to 0. You just need access to the form or to the main form for the application, respectively. Within a form, you can use ThisForm or, if you have a Form Manager object, grab the reference from that.
For the application, if you're running in the main VFP window (that is, you don't have SCREEN=OFF in your Config.FPW), you can use _VFP. If you're in a top-level, you should have a reference to that somewhere.
Tamar
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only