On Mon, Aug 08, 2005 at 01:03:55PM +0200, Vincent Snijders wrote:
> 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.
All I can report is the following output in the terminal from which
lazarus was started:
TApplication.HandleException Access violation
Stack trace:
$00120B40
$00314340
$0012138C
$0011FCDC
$0000F150
$00122048
$00116A28
$001208BC
$0002FCA4
$00030138
$001C0684
$001C05A4
$001EBF6C
$03573198
$03571F40
$0357262C
$044A4C6C
TApplication.HideAllFormsWithStayOnTop :THintWindow
TApplication.HideAllFormsWithStayOnTop :THintWindow
> >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.
>
> Only published properties are shown in the object inspector and the
> TFont property is public, not published.
Well, the obvious next question is:
* Why are public properties not handled the same way in Lazarus
as they seem to be handeled in Delphi?
Or maybe Font should be a published property?
Anyway, my Delphi form files have Font properties defined for TEdit objects,
and Delphi generates/reads such .dfm files. Why does Lazarus treat
the Font property differently?
Does this mean that I need to manipulate font information for such objects
dynamically (i.e. in the .pas code, rather than in .lfm)?
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