Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Order of forms in _Screen.Forms
Message
From
30/08/2013 03:58:37
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
29/08/2013 10:01:38
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01581652
Message ID:
01581710
Views:
104
>I have always wondered if there is a reliable order to the forms in _Screen.Forms.
>
>After a trivial amount of testing, it appears that the forms appear in the order of most recently visited first ... if I set focus to a form, it moves to the first position and all other forms move down one.
>
>Am I correct in this?

I think it worked that way since FP1.0, before there was a _screen - the order in which the windows would cycle when pressing ctrl+f1, or their order in the window menu. The _screen.forms collection is probably just another interface to the same stack.

back to same old

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

Click here to load this message in the networking platform