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
ShiftMode - Can't get box to shift right
Hello,
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.
Thank you.
The ShiftMode property affect only vertical moving of component.AdrianFS wrote:How can I set it up so that the second box will shift to the right?
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.
The DockStyle property affect only current row of databand.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?
Thank you.
- Attachments
-
- 1190.Report sample.zip
- (1.43 KiB) Downloaded 235 times