Stacking Panels

Stimulsoft Reports.WPF discussion
Post Reply
MasterCephus
Posts: 16
Joined: Wed Mar 24, 2010 6:08 am

Stacking Panels

Post by MasterCephus »

I have a form that is 8.5 x 11 in a landscape. I have one panel on the left side (called FrontPanel1) and I want to have two panels (called BackPanel1 & BackPanel2) on the right side of the same size "stacked" on each side such that in my code, I want to disable one of the BackPanels so only one panel is displayed.

the problem is that when I "overlay" the two backpanels, it seems that the panel I lay on top of the others gets put inside the back panel (according to the report tree). So let's say that backpanel2 is "inside" backpanel1, I can't disable backpanel1 and enable backpanel2 because since I've disabled backpanel1, I can't view backpanel2.

Any help with this?
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Stacking Panels

Post by Alex K. »

Hello,

Please try to set the Link property of panel components and all components on these panels to true. And then put panels one on one

Thank you.
MasterCephus
Posts: 16
Joined: Wed Mar 24, 2010 6:08 am

Stacking Panels

Post by MasterCephus »

This absolutely worked! Thanks! If I could have a suggestion, in the case when an item is going to become a child node in the report tree, can you have it prompt (you can have a checkbox to not ask if people don't want it) if the user wants the item to be a child node? I would have never known or thought to use the Link option in the properties to accomplish that.
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Stacking Panels

Post by Jan »

Hello,

Thank you for your suggestion!

Post Reply