Grid.Canvas.TextWidth(sYourBuffer)
Wilfried Mestdagh wrote:
Hello, When a DBGrid is in insert or edit mode the text typed in is stored somewhere in an internal buffer I guess. I want to get this buffer while typing to calculate the width in pixels of the text. Someone knows how this could be done? Reason: A user fills in a form with a DBGrid. A certain field has a maximum width. Buth this width is limited to an amount of pixels, because it has to be printed and I may not scroll when printed. --- Rgds, Wilfried http://www.mestdagh.biz __________________________________________________ Delphi-Talk mailing list -> [email protected] http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk
__________________________________________________ Delphi-Talk mailing list -> [email protected] http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk
