Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining the “next” form
Message
From
23/07/1998 13:27:04
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Determining the “next” form
Miscellaneous
Thread ID:
00120580
Message ID:
00120580
Views:
52
I’m trying to determine, programmatically, which form on a multi-form screen will have the focus when I remove the active form by pressing it's x close button.

I tried the following, but the second print statement doesn’t work as there is no ListIndex property in this case.
for i = 1 to _SCREEN.formcount
 ? _SCREEN.forms(i).name
 ? _SCREEN.forms(i).ListIndex
endfor
Zorder doesn’t seem to be the answer either as it seems to give me only top, or not top as an answer.

Bob
Next
Reply
Map
View

Click here to load this message in the networking platform