Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Activate a page in pageframe (design)
Message
From
26/11/2009 15:00:27
 
 
To
26/11/2009 14:45:40
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MySQL
Miscellaneous
Thread ID:
01436668
Message ID:
01436673
Views:
65
I am using the pageframe for a wizard style form, where the tabs are hidden. I know I could show them during design and hide them in runtime, but then the form would look distracted during designing and the positions of the controls is slightly different then.

Using separate containers for the pages is a good idea, but I do have a lot of older pageframes which I do not want to redesign.

>What's wrong with ctrl-clicking the tab with the mouse? Another solution which I use often is to design the page in a separate form, and copy the form to a page in a pageframe after I get it working the way I want.
>
>>Hello,
>>
>>I am trying to build a tool to activate a page on a pageframe during design. This should facilitate the selection of a certain page if I have a lot of pages on a pageframe.
>>
>>I get a reference to the pageframe when I have the pageframe selected using
>>
>>=ASELOBJ(laObj)
>>*
>>loPageFrame = laObj[1]
>>lnPageCount = loPageFrame.PageCount
>>
>>I build a shortcut popup menu with the captions of the pages. When I click on an item, I want to have this page selected. I tried
>>
>>LPARAMETERS tnPageNr
>>*
>>=ASELOBJ(laObj)
>>*
>>loPageFrame = laObj[1]
>>loPageFrame.ActivePage = tnPageNr
>>
>>But that does not "activate" the page during design mode. What could I do? Or should I give up already?
Christian Isberner
Software Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform