#1 2012-11-15 20:08:16

josefkoller
Member
Registered: 2012-02-22
Posts: 11

SQLite fieldtyp TEXT display

Hi,

I have a SQLite DB with a field. This field is typed "TEXT".

Is there a possibility to display the text of this field in a formatted manner?

With DrawText(...) I got the result, but DrawTextAt(......,20) isn't possible.

I tested a TStringstream, but it is the same like DrawTextAt. Every new line displays on the first line. No linebreaks.

But I need a correct text on possition 20 with such a field, for example.

Thanks

Josef

Offline

#2 2012-11-15 21:26:46

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,666
Website

Re: SQLite fieldtyp TEXT display

Did you try to change the margins?

Offline

#3 2012-11-16 09:15:36

josefkoller
Member
Registered: 2012-02-22
Posts: 11

Re: SQLite fieldtyp TEXT display

Hi,

thanks for answer.

But now I have the next problem with column drawing.

If I use

      rep.DrawTextAcrossCols(['Test',fdmimker.ZQAufNachrichtNACHTEXT.AsString,'Some text here']);

the hole text in the second column will print only in one line. The text in the second column comes from a DB Field Typed TEXT and has multlines.

Is there a way to get a multlinetext in the column?

thanks again

Josef

Offline

#4 2012-11-16 11:10:33

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,666
Website

Re: SQLite fieldtyp TEXT display

AFAIR it is not handled in the current state of the component.

Offline

Board footer

Powered by FluxBB