Tom Verhoeff wrote:
On Mon, Aug 08, 2005 at 10:08:13PM -0700, George Lober wrote:
Tom Verhoeff wrote:
On Mon, Aug 08, 2005 at 11:22:44PM +0200, Micha Nelissen wrote:
Is the FormCreate procedure in the published section of the Form class
definition ? That's all I can think of right now...
In both the problematic large Delphi project and my working Hello World
example, the FormCreate is right below TMainForm = class(TForm), without
preceding modifier (neither private, published, public, protected, ...).
I use GTK(1). It is a nightmare to trace the handling of events through
the code. I cannot even find where the OnCreate event is supposed to be
generated as a consequence of (form) creation.
What version of Lazarus are you running ? Earlier versions had a problem
executing code during OnCreate event.
I use a very recent SVN version (rev 7490; reporting itself as 0.9.9 beta).
Together with FPC 2.0.0 (release version) on Mac OS X (darwin).
I have stayed away from using a more recent FPC, because I need to have
a reliable compiler (for other purposes), and don't want to get stuck
with a broken environment.
Is there a good&easy way to keep two FPC versions next to each other?
The can be installed quiet well site by site as long as they have
different version numbers.
In lazarus you can specify the compiler you want to use:
for 2.1.1 specify /usr/local/lib/fpc/2.1.1/ppcppc.
Update your fpc.cfg (in /etc/fpc.cfg or ~/.fpc.cfg):
Replace all occurrences of 2.0.0 in (-Fu) paths with $fpcversion.
If you want to keep using fpc 2.0.0 from the command like you do know,
make sure the symlink in /usr/local/bin/ppcppc remains linked to
/usr/local/lib/fpc/2.0.0/ppcppc.
HTH,
Vincent.
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives