Page 1 of 1

ShiftMode - Can't get box to shift right

Posted: Mon Jul 25, 2011 5:06 pm
by AdrianFS
I am evaluating Stimulsoft Reports and I can't get ShiftMode to work correctly.

I created a sample report with two text boxes. The first contains the text "Too big to fit in this space" and is sized to be too small for that text. That text box has AutoWidth=true.

The second text box is immediately to the right of the first box and contains the text "right". This text box has AutoWidth=true and the ShiftMode - Only in Width of Component option checked.

According to the ShiftMode documentation, I expect that the first text box will grow in width and the second text box shifted to the right. However, the first text box is growing correctly in width but the second text box isn't moved at all so that the text overlaps.

How can I set it up so that the second box will shift to the right?

Also, I want to use this feature to have report columns that will grow and shrink based on the data. Will AutoWidth and ShiftMode adjust the entire column or does it affect the controls in a single row?


Thank you very much.

ShiftMode - Can't get box to shift right

Posted: Mon Jul 25, 2011 11:44 pm
by Ivan
Hello,
AdrianFS wrote:How can I set it up so that the second box will shift to the right?
The ShiftMode property affect only vertical moving of component.
For your task please use the DockStyle property of component: set this property for both component to Left.
Please check the report sample in the attachment.
AdrianFS wrote:Also, I want to use this feature to have report columns that will grow and shrink based on the data. Will AutoWidth and ShiftMode adjust the entire column or does it affect the controls in a single row?
The DockStyle property affect only current row of databand.

Thank you.