Hello,
I have 2 text fields in my report:
| Text 1 | | Text 2 |
Sometimes Text 1 could be bigger then before (depends on the Text data there).
Is it possible to expand or shrink the size of Text 2 dependent of the width of Text 1 (otherwise it will overlap Text 2) ?
What properties need to be set here?
It's something like the "anchor" property on a windows forms control.
I use VB.NET 2008 with the latest Stimulsoft.NET report.
Hope you can help me with this.
Thank you in advance.
Best Regards,
Thomas
Auto width of two text fields
Auto width of two text fields
Hi Thomas,
you can Dock Text Fields as in .Net.
Cheers,
Xss
you can Dock Text Fields as in .Net.
Cheers,
Xss
Auto width of two text fields
Hi xss,
thank you for your reply. I tried to use the "dock" property of the Textfield 1 but when I set it to left then it's height changes to the whole size of the databand height.
The report looks like that:
| Text 1 | | Text 2 ... |
| Text 3 | | Text 4 ... |
| Text 5 | | Text 6 ... |
| Text 7 | | Text 8 ... |
Then on the next page it starts again at Text 1. The Databand has the size of a whole page. So how would you dock the Text Rows so that it uses the right width.
I couldn't use a table as the Text fields have different widths.
Is there a way to "dock" a textfield without changing the whole size of it?
thank you for your reply. I tried to use the "dock" property of the Textfield 1 but when I set it to left then it's height changes to the whole size of the databand height.
The report looks like that:
| Text 1 | | Text 2 ... |
| Text 3 | | Text 4 ... |
| Text 5 | | Text 6 ... |
| Text 7 | | Text 8 ... |
Then on the next page it starts again at Text 1. The Databand has the size of a whole page. So how would you dock the Text Rows so that it uses the right width.
I couldn't use a table as the Text fields have different widths.
Is there a way to "dock" a textfield without changing the whole size of it?
Auto width of two text fields
Hello,
You can use the panel component.
Please see the sample report in attachment.
Thank you.
You can use the panel component.
Please see the sample report in attachment.
Thank you.
- Attachments
-
- 663.SampleReport.mrt
- (18.61 KiB) Downloaded 447 times