I have noticed that in Delphi 2009, the text in a multi-line memo has different padding on the left from that in a single-line edit, though both are based on TCustomEdit. The exact offset depends on the font size:
alt text http://img188.imageshack.us/img188/7668/editmemo.png
I am looking for a simple way to get the memo text aligned with the same offset as edit text. If that is not possible, how about a method of calculating what the offset is going to be in pixels, given the font size, so that I could adjust the positioning of the (dynamically created and positioned) fields before displaying them? I think that in an earlier release of Delphi, the two offsets were the same.