[lazarus] Bug in TCustomForm.ShowModal

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Sep 6 15:01:24 EDT 2003


On Sat,  6 Sep 2003 14:49:02 -0300
"pascalive" <pascalive at bol.com.br> wrote:

> Using Lazarus IDE, after we close the
> EnviromentsOptions dialog with the X
> button (at Title bar) an invalid
> typecast exception occurs at
> customlistbox.inc:67, while trying to
> recreate the form.
> The form is recreated at
> customform.inc:1407
> (Handle-> GetHandle-> HandleNeeded)
> 
> Is it win32 specific?

Yes and no. It is gtk intf specific that no handle is recreated.
I added an "if HandleAllocated".


Mattias


> Under gtk no exception is triggered.
> 
> karl  
> 
> 
>  
> __________________________________________________________________________
> Acabe com aquelas janelinhas que pulam na sua tela.
> AntiPop-up UOL - É grátis!
> http://antipopup.uol.com.br/
> 
> 
> _________________________________________________________________
>      To unsubscribe: mail lazarus-request at miraclec.com with
>                 "unsubscribe" as the Subject
>    archives at http://www.lazarus.freepascal.org/mailarchives


-- 






More information about the Lazarus mailing list