Scalabium Software

SMReport Autogenerated
Knowledge for your independence'.
Home Delphi and C++Builder tips


#28: How can I set the offsets for TMemo component?

Today I have read in book that for standard TMemo component you can set the offsets!
Try it:

var Rect: TRect;
begin
  SendMessage( Memo1.Handle, EM_GETRECT, 0, LongInt(@Rect));
  Rect.Left:= 20;
  SendMessage(Memo1.Handle, EM_SETRECT, 0, LongInt(@Rect));
  Memo1.Refresh;
end;


Published: October 4, 1999

See also
 
Viewer for TNEF-files (winmail.dat)
ABA Picture Convert
DBISAM Password Recovery
Clarion to Text converter
Fast Document Viewer
ABA Spreadsheet Convert
ExcelFile Viewer
SMExport suite
SMImport suite
Database Information Manager
 
 


Contact to webmaster

 

Borland Software Code Gear Scalabium Delphi tips

Copyright© 1998-2025, Scalabium Software. All rights reserved.
webmaster@scalabium.com

SMExport/SMImport suites