Thread View: comp.lang.pascal.delphi.databases
2 messages
2 total messages
Started by Carlos Izquierdo Gar�a
Sat, 26 Dec 1998 00:00
Help with TRichEdit and DBGrid
Author: Carlos Izquierdo Gar�a
Date: Sat, 26 Dec 1998 00:00
Date: Sat, 26 Dec 1998 00:00
9 lines
827 bytes
827 bytes
I need to know how to: - Insert a end of page (EOP) in a TRichEdit - Change the distance between lines in a TRichEdit - Draw lines or other objects in a TRichEdit. - Change the heigth of the rows in a TDBGrid Thanks
Re: Help with TRichEdit and DBGrid
Author: Reid Roman
Date: Sat, 26 Dec 1998 00:00
Date: Sat, 26 Dec 1998 00:00
48 lines
2195 bytes
2195 bytes
"Carlos Izquierdo Gar�a" wrote:
>
> I need to know how to:
>
> - Insert a end of page (EOP) in a TRichEdit
> - Change the distance between lines in a TRichEdit
> - Draw lines or other objects in a TRichEdit.
>
> - Change the heigth of the rows in a TDBGrid
>
> Thanks
You might consider creating a New component based on TRichEdit that
makes it's canvas accessable. Once you have a handle to the canvas, you
can draw lines or about anything else from there.
You could set a property reresenting it's page size, and monitor the
cursor position. If it has reached the length of a new page, inc the
Page count, and insert another Page Break.
(Just send a control L (FF character) into the flow. When it
prints, it will kick out the current page on this character.)
Don't know how to go about increaseing the leading ... (line spacing)
HTH
Rkr
--
\|||/
/'^'\
( 0 0 )
--------------oOOO--(_)--OOOo--------------
. Reid Roman .
. Delphi Programmer .
. TVisualBasic:=class(None) .
. May the Source be With You .
-------------------------------------------
. Auto-By-Tel (http://www.autobytel.com) .
. Irvine, CA U.S.A .
. E-Mail : rkroman (at) home (dot) com .
-------------------------------------------
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads