Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-09

Bug in TCustomForm.ShowModal

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

pascalive

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?
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/

Reply by email

Mattias Gaertner
to pascalive
Show quoted text 11 lines
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

Show quoted text 16 lines
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 with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email