PDA

View Full Version : [SOLVED] Page in multipage form dont show picture, comand button and so on after swapping



petroj02
07-24-2016, 11:48 PM
Hello all,
I have crated new myform with multipage, here is at first page, first Picture and at second page diferent Picture, my idea is Change this multipage with command button. Like...

mulitpage1.pages(0).enabled=false
mulitpage1.pages(1).enabled=true
mulitpage1.pages(1).visible=true

so far this works good, but issue is that after swaping to this page with index1 (called page2), this page is just Grey and Picture on this page and Option buttons on this page arent visible. They are visible after click on head of page 2. See attachment bellow.
Do you have any idea how to fix this Problem?
I did several myforms at past with same principles and it works good for me...
Thnx for answers....

p45cal
07-25-2016, 05:31 AM
No myform, no multipage, no picture, no code in your attachment.

petroj02
07-26-2016, 10:04 PM
Ups,
For some reason I attached wrong file, thank you for warning. I attache right file in this Response. Could you or someone else look on this and give me advice? I spent lot of time finding right solution, but so far I wasnt succesfull.

p45cal
07-27-2016, 11:21 AM
.enabled and .visible do what they say on their respective tins; if you want to bring a particular page to the fore you must:
Multipage1.Value = 0
or
Multipage1.Value = 1
etc.

petroj02
07-28-2016, 03:10 AM
This is exactly what I am looking for. I really appreciate your help so much! Thank you dude

p45cal
07-28-2016, 03:33 AM
dudeyuk.