Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Focus
Message
From
30/03/2000 16:46:07
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Re: Focus
Miscellaneous
Thread ID:
00352858
Message ID:
00352932
Views:
21
Hi Tom and Nick,

>thisform.pageframe1.pages(thisform.pageframe1.activepage).name

Only if the Page orders have never been switched. ActivePage returns the ActivePage number in the PageOrder (as if it counted from the left upto the activepage), but the pages array is sorted by creation order.

The only way to really confidentally do this is:
for each loPage in thisform.pageframe1.pages
	if loPage.PageOrder = thisform.pageframe1.activepage
		exit
	endif
endfor
wait window loPage.name
Previous
Reply
Map
View

Click here to load this message in the networking platform