Problem with Tabstops

Stimulsoft Reports.NET discussion
Post Reply
Stephan1
Posts: 122
Joined: Fri Aug 31, 2007 7:22 am
Location: Germany

Problem with Tabstops

Post by Stephan1 »

Hi,

i've got a Problem using Tabstops in my Report.

I have a Textbox in my Programm which ist filled with e.g Text. (with Tabstops in it)
The Textbox is a standard Windows Textbox control.

Software Engineer: Herr Max Muster
Teilnehmer: Herr Hans Dampf
Datum: 05.01.2011
Zeitraum: 14:45 Uhr bis 16:00 Uhr

When Printing a Report with a Textcontrol on it the Tabstops don't fit.

It look's like:

Software Engineer: Herr Max Muster
Teilnehmer: Herr Hans Dampf
Datum: 05.01.2011
Zeitraum: 14:45 Uhr bis 16:00 Uhr

I know i can set a beginning for First Tab and the Distance for tabs.

But what value do i have to set ? Do i have to calculate the value for each Textbox?

thx for help

Stephan.
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Problem with Tabstops

Post by Jan »

Hello Stephan,

We need some time for examination this problem.

Thank you.
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

Problem with Tabstops

Post by Ivan »

Hello,

The width of each character depends on the font type and font size.
Therefore, to display correctly, you must use the same font type and font size.
FirstTabOffset
- The number of spaces between the beginning of a line of text and the first tab stop.
DistanceBetweenTabs
- Distances between tab stops, beginning with the first tab stop.
Please set the FirstTabOffset property to 0.
Value of the DistanceBetweenTabs property must be chosen by experimentation. For example, for "Arial; 12pt" value is 72, for "MS Sans Serif; 12pt" value is 90.

Thank you.
Stephan1
Posts: 122
Joined: Fri Aug 31, 2007 7:22 am
Location: Germany

Problem with Tabstops

Post by Stephan1 »

Hello Ivan,

thx for your info. I will give it a try.

Stephan
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Problem with Tabstops

Post by Andrew »

Ok!

Let us know about the result.
Thank you.
Stephan1
Posts: 122
Joined: Fri Aug 31, 2007 7:22 am
Location: Germany

Problem with Tabstops

Post by Stephan1 »

Hi there,

it seems to work as expected.

If any problems will occur i'll give you a feedback.

Thx.

Stephan
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Problem with Tabstops

Post by Andrew »

Ok! We are glad to help you.
Post Reply