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