General information
Category:
Visual FoxPro and .NET
Got it, thank you
I use:
Thisform.thisobj=CREATEOBJECT("Form")
thisform.thisobj.application.top=0
thisform.thisobj.application.left=0
However, it's not goes to 0,0, there is still gap
I figure it out if I click the max button, it will position it nicely.
What is the variable to open the form to the max?
Thanks in advance
Jerry
>>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