Hi all,

I am pretty new to this list, althou I used Lazarus and fpc a lot in the past; and now I am back to it.

I recently updated both Lazarus and the fpc compiler to the following versions:

Lazarus: 0.9.28.2 beta SVN Revision: 22288
fpc: Free Pascal Compiler version 2.2.4 [2009/10/05] for i386

(cannot tell you what versions I had before, but I think they were those coming with a Fedora 7 bundle)

Anyway, here are my "problems":

1. I specify (load, from the object inspector) an icon for the application's main form, but when I compile and run the application, its icon is always the red "X" icon; no matter what file I load (be it an .ico, or an .xpm). Nothing changes even if I dynamically load it at runtime, in the form's oncreate handler (in this case I can load only an .ico). This thing worked in the previous versions, althou' the correct icon's transparency was obtainable only using an .xpm.

2. I used to start my program minimized in the application's bar (not the tray area) by specifying WindowState := wsMinimized in the oncreate handler, and it all worked; but now this doesn't. To solve the thing I can do a Application.Minimize in the onshow handler, but this causes an annoying flicker (the form is shown in its normal state for a fraction of a second, then minimizes).


Dows anybody know a solution, or a trick to get these two things to work as before? apart from trying to reinstall the old versions of compiler and ide, of course ;-)

Thanks in advance,
A.

AN
ANSware Ltd - Sofia


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to