shift text fields

Stimulsoft Reports.NET discussion
Post Reply
fbeerens
Posts: 3
Joined: Thu May 12, 2011 3:39 am
Location: Netherlands

shift text fields

Post by fbeerens »

Hi

i have this

Text 1
Text 2
Text3
--------
Totaal Text 4

al in a footer.

When text2 or text3 is empty they have to shift to it looks like this

Text1
--------
Totaal Text 4


how can i do that ?
xss
Posts: 64
Joined: Wed Jun 10, 2009 3:03 am
Location: Austria

shift text fields

Post by xss »

hi,

you could try to dock your fields to the left and hide empty fields.

best regards,
xss
fbeerens
Posts: 3
Joined: Thu May 12, 2011 3:39 am
Location: Netherlands

shift text fields

Post by fbeerens »

i think you are going to fast for me.

The field are hidden with a condition but they won't shift.
xss
Posts: 64
Joined: Wed Jun 10, 2009 3:03 am
Location: Austria

shift text fields

Post by xss »

oops, dock left is wrong. you have to dock them top.

ok, 2 solutions:

1) place your text fields (1, 2, 3) in different bands and set the band canshrink and the textfield canshrink property to true.

or

2) set the property 'dock' of your text fields to top - it behaves as docking in a .net windows form. set the canshrink property of your text fields to true.

both solutions should work - unfortunately i can't test 'em right now.

best regards,
xss
Post Reply