Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Control shows on all pages of pageframe

Status
Not open for further replies.

MikeWood

MIS
Mar 13, 2000
43
US
I have a form with a pagefram that takes up the entire page. Tabs property is set to false because I am building a report wizard. The user clicks on the 'next' button to see the next page of the page frame. There is combo box on the first page. When I click on the next button, the combo box is also on the second and third pages (there are 3 pages).

I don't usually work with page frames but I know there is a way to make a control show up on all pages. So how do I turn this feature off.

In the properties dialog box the combo box shows under the first page, NOT under the form.

Any ideas, anyone?
Mike Wood
mikewood@mpwonline.com

 
You put the combo box on the pageframe, not on the page.
Click on the pageframe. click on the combobox
press ctrl+x. Now right click the pageframe, select edit
and select page1 and paste, ctrl+V.

Ed Please let me know if the suggestion(s) I provide are helpful to you.
Sometimes you're the windshield... Sometimes you're the bug.
smallbug.gif
 
No good. The next to last thing I said in my original post is that the combo box shows under the page; not the form or the pageframe. It is the last control under the page and is indented to the right of the next page.

I went ahead and did what you said and it still shows on each every page.
Mike Wood
mikewood@mpwonline.com

 
You sure you don't have multiple combo boxes? It sounds like it, especially if it shows up differently on different pages.

Dave S.
 
Try this:

Go to design mode... And then click on the combo box.. In the status bar @ the lower left hand corner, vfp, will display the actual name of the object and it relative to the "Parents"

example: Form1.PageFrame1.Page1.Combo1 <- that means it is on page1

now, if it says something else, then, at lease you know where it resides!!!... that should be a good start! Please let me know if this helped you :)

Tekno
Wireless Toyz
Ypsilanti, Michigan
 
The status bar shows frmmainnew.pfmain.pagmain.cboreports

More troubleshooting reveals the following:

The display of cboreports on the other two pages of the pageframe only occurs when I use the ActivePage property, and[/] the image of cboreports is in front of the controls on the other pages but is only displayed. For instance if I click on the cboreports I actually activate the control behind the image and part of the cboreports image disappears so the active control moves to the front.
Bizarre!

The cboreports combo box is a list of available reports. Depending on which report the user selects, the click() routine may set the ActivePage property of the pageframe to another page so the user for some report parameters.

If I enable the tabs property of the pageframe and switch that way then cboreports is not displayed on the other pages.
Mike Wood
mikewood@mpwonline.com

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top