ShiftMode - Can't get box to shift right
Posted: Mon Jul 25, 2011 5:06 pm
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.
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.