Tom Verhoeff wrote:
I am in the process of converting a fairly large Delphi (6) project
to Lazarus. I use FPC 2.0.0 with the most recent Lazarus from SVN
(revision 7490, which compiled fine; though the Lazarus IDE keeps giving
me Access violations, which I simply ignore) on Mac OS X (Darwin).
It would be interesting to know, what causes the access violations.
When converting some forms, I run into the problem that for some reason
TEdit objects cannot have Font properties. I also tried it in a simple
Hello World project, and indeed, the Object Inspector shows no Font
property for a TEdit component on the form.
On the other hand, if I read the LCL source, then I find in stdctrls.pp
TEdit = class(TCustomEdit)
preceded by
TCustomEdit = class(TWinControl)
and in controls.pp
TWinControl = class(TControl)
preceded by
TControl = class(TLCLComponent)
...
public
...
property Font: TFont read FFont write SetFont stored IsFontStored;
What am I missing?
Only published properties are shown in the object inspector and the
TFont property is public, not published.
Regards,
Vincent.
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives