[Lazarus] main form icon and other things

Paul Ishenin webpirat at mail.ru
Fri Apr 2 00:01:48 CEST 2010


02.04.2010 0:07, Alberto Narduzzi wrote:
> Dear all,
>
> ok, as sometimes, only talking about something is enough to get it 
> solved... I saw I was suing bsDialog as the style of my main form, and 
> that prevented the icon to show. Setting it to either bsSingle, or 
> bsSizeable solved the issue.
>
> Now I have only to check if also the windowstate was affected by such 
> setting.
>
> Sorry, I should have checked this before, but since it worked, I never 
> thought of any changes in the behavior of the forms; this must be 
> something related to improvements/changes in the LCL, ain't it?
Forms with bsDialog style does not have icon. This is so in delphi too. 
They also can't be resized but in gtk2 they can (and this will be fixed 
sooner or later).

Best regards,
Paul Ishenin.




More information about the Lazarus mailing list