how make panel in center after docking

Stimulsoft Reports.NET discussion
Post Reply
nezarabd
Posts: 32
Joined: Tue Sep 30, 2014 1:38 pm

how make panel in center after docking

Post by nezarabd »

i have report with panel
the panel in center and have many textbox with dock style right
the textboxes have condition to disable on empty
it works okay
but the problem is i want to make the panel in center after disable some textbox
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: how make panel in center after docking

Post by HighAley »

Hello.

Please, send us your report template with sample data and screen-shot that will help us to understand the issue.

Thank you.
nezarabd
Posts: 32
Joined: Tue Sep 30, 2014 1:38 pm

Re: how make panel in center after docking

Post by nezarabd »

the panel in center
when i disable the colume2
the panel not become in the center
how can i make it the center again

thanks
Attachments
sample.mrt
(6.2 KiB) Downloaded 152 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: how make panel in center after docking

Post by HighAley »

Hello.

You could specify the necessary position of the Panel at the Before Print event.

Code: Select all

if (!Text2.Enabled)
    Panel2.Left = 7;
Thank you.
Post Reply