[Lazarus] TextHeight property in TCustomForm

Flávio Etrusco flavio.etrusco at gmail.com
Wed Feb 27 23:25:32 CET 2008


On Wed, Feb 27, 2008 at 6:56 PM, Hess, Philip J <pjhess at purdue.edu> wrote:
> But did removing it add any value to Lazarus?
>
>  All I know is that what once worked no longer does.
>
>  TextHeight is probably a holdover from early versions of Delphi, but
>  Delphi still puts TextHeight in the .dfm. So if you want better
>  compatibility...
>
>
>  Thanks.
>
>  -Phil
>

My 2cents suggestions if the property is restored:
- use a dummy method instead of a field/variable? (mostly for the code
cleanliness rather than the wastage of heap memory)
- would it work to make it write-only so it's not displayed in the
Object Inpector?

Cheers,
Flávio




More information about the Lazarus mailing list