Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
2.6->VFP Form converter
Message
From
19/10/2006 12:51:24
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Third party products
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Network:
Novell 5.x
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01063841
Message ID:
01163360
Views:
14
>>>I see. AFAIK, there are not screens, but DEFINE WINDOW. My manager asked me how to increase the size. First I immediatelly suggested to look at WindowState property, but it later it turned out there are no forms at all. So, we can play with FROM nRow1, nColumn1 TO nRow2, nColumn2 coordinates...
>>
>>Define Window actually does create a form, with some special set of properties, so it looks that way. Try this:
>>
>>
DEFINE WINDOW tt FROM 2,2 TO 45,24
>>ACTIVATE WINDOW tt
>>o=_screen.Forms(1)
>>o.Left = o.Left + 200
>>
>
>Very nice. What if I have few windows defined? How should I distinguish between windows?
>
>Thanks again.

Actually Sergey found what I was looking for - the name clause, which will give you a reference to this special form right away.

If you can't get into the code which does the define window, you can loop through _screen.forms until you find the one with the caption or name that's equal to that of your window.

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