Horizontal Shift?

Stimulsoft Reports.NET discussion
Post Reply
Jennypi
Posts: 361
Joined: Mon Nov 17, 2008 7:13 am
Location: France

Horizontal Shift?

Post by Jennypi »

Hello,

I read a very cool tip to shift textboxes in this topic: http://forum.stimulsoft.com/Default.aspx?g=posts&t=863.
My problem is that I have a report with columns, not lines:
column1 | column2 | column3
If the text in the column1 is null or "", I want the text in column2 to be printed instead of the one in column1.
I tried to set the autowidth property to true and shift mode to 'decreasing' but it doesn't work. It leaves spaces instead of shifting text.

Can you please help me?

Thanks,
Jennifer.
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Horizontal Shift?

Post by Vital »

Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Horizontal Shift?

Post by Vital »

Hello,

You can use Dock property in this situation.

Thank you.
Jennypi
Posts: 361
Joined: Mon Nov 17, 2008 7:13 am
Location: France

Horizontal Shift?

Post by Jennypi »

Thanks for your reply, but I think that the dock property would help me in the case of my columns are on the left side of the report.
But ! I have other text fields before those columns! So they are not really on the left side.

thanks,
Jennifer.
Jennypi
Posts: 361
Joined: Mon Nov 17, 2008 7:13 am
Location: France

Horizontal Shift?

Post by Jennypi »

Ok, I've tried to put the dock property=left for ALL my fields, including those that are at the beginning my report.
It could work, but the problem is that the system put the field which is supposed to be my 2nd report column as the first one, directly aligned on the left. How do I set the order of the fields if all of them have dock property='left'?
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Horizontal Shift?

Post by Edward »

Hi, Jennifer.

Dock property will work according to Order property of the Components inside of the DataBand or other Container.
Order of different components can be seen if you enable option to show it:

View - Show Order (in Ribbon and Standard GUI the same name of the elements).

You can set order of the components using
'Bring to Front' and 'Send To Back' commands in the context menu. Also these commands are available in the Toolbar in the Standard GUI or under 'Layout' Ribbon panel for Ribbon GUI.

Thank you.
Jennypi
Posts: 361
Joined: Mon Nov 17, 2008 7:13 am
Location: France

Horizontal Shift?

Post by Jennypi »

Thanks a lot for your help, it seems to work.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Horizontal Shift?

Post by Edward »

Hi Jennifer.

You are welcome :)

Please let us know if you need any help.

Thank you.
Post Reply