0

Hi I have set pane1.hide() and panel2.hide on form load however the panel still shows when I had only one panel it worked fine the new panel is exactly the same size placed directly over the other.

Why does it still show? I know I could use multiple forms it just seems a waste creating the same form over and over just so I can change a small part of it.

any ideas

thanks

M

2
Contributors
2
Replies
3
Views
5 Years
Discussion Span
Last Post by mikejs
0

try panel1.visible = false , true :D

and be careful mybe panel2 panel is member of panel1 panel or its opposite u should check this look them locations.

for example panel1 and panel 2 is same place
panel1 location is 10; 10 and if panel2 location is 0; 0 its mean panel2 is member of panel1 and if u hide panel 1 automaticly panel2 will be hide :)
good luck

Edited by Oneryavuz: n/a

0

Thanks for the reply I hadn't thought of looking at the location, I needed to select the form and then add the new panel

thanks

M

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.