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).

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?

A related question: What font settings can I use for platform independent
operation?  I would like to use a simple sans serif font, and also on some
other occasions a simple monospaced font (like Courier).

Thanks,

        Tom
-- 
E-MAIL: T.Verhoeff @ TUE.NL     | Fac. of Math. & Computing Science
PHONE:  +31 40 247 41 25        | Eindhoven University of Technology
FAX:    +31 40 247 54 04        | PO Box 513, NL-5600 MB Eindhoven
http://www.win.tue.nl/~wstomv/  | The Netherlands

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to