Re: Cannot focus a disable or invisible window!

"Pieter Avenant" <[email protected]>
Newsgroups gmane.comp.lang.delphi.programming
Message-ID <[email protected]>
hansw_id,

Maybe try

  with TMyForm.Create(Application) do
    Show;

HTH
Pieter.

--- In [email protected], "hansw_id" <hansw_id@y...> 
wrote:
> What possibly can cause that error?
> I create a mdi application and call a childform with this code:
> 
> with MyForm.Create(application) do show
> 
> And when I run the program and call the menu, the error occured.
> All my child windows has visible property to true. 
> 
> Tia :)


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free shipping on all inkjet cartridge & refill kit orders to US & Canada.
Low prices up to 80% off. We have your brand: HP, Epson, Lexmark & more.
http://www.c1tracking.com/l.asp?cid=5510
http://us.click.yahoo.com/y8_tZA/6oVGAA/ySSFAA/i7folB/TM
---------------------------------------------------------------------~->

Delphi Tips & Tutorials...
http://www.delphicollection.com
---------------------------------------------------------------
Unsubscribe:[email protected]
List owner:[email protected]
--------------------------------------------------------------- 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.