Board index » delphi » Text wrapping

Text wrapping

Quote
"Jim Eadie" <jim_ea...@mimotopes.com> wrote in message

news:g0silskcmf47ig8npouorknoh2394tuh91@4ax.com...

Quote
> Hi,

> I seem to remember that it is possible to have windows automatically wrap
> text into a bounding rectangle. I can't find the function/procedure I
need.

> I have variable length strings ( with paragraphs as well) that need to be
> printed from a given position on the page (proportional font - arial in my
> case).

> Can anyone help.

The Win32 API has DrawText which can output wrapped text.
 

Re:Text wrapping


Thanks Bruce, that was exactly what I meant.
Quote
"Bruce Roberts" <no.junk.please....@attcanada.net> wrote:

>"Jim Eadie" <jim_ea...@mimotopes.com> wrote in message
>news:g0silskcmf47ig8npouorknoh2394tuh91@4ax.com...
>> Hi,

>> I seem to remember that it is possible to have windows automatically wrap
>> text into a bounding rectangle. I can't find the function/procedure I
>need.

>> I have variable length strings ( with paragraphs as well) that need to be
>> printed from a given position on the page (proportional font - arial in my
>> case).

>> Can anyone help.

>The Win32 API has DrawText which can output wrapped text.

Other Threads