Board index » delphi » getting error cannot change visible in onshow or onhide

getting error cannot change visible in onshow or onhide

i am getting this error trying to show a form when the main form is
activated.  i dont know how to fix this.  i also would like to know how to
reset/load the tcpClient control because if i am disconnected and try to
connect again i get an access violation error.

Thanks in advance

Lee
email setral...@zombieproductions.net

 

Re:getting error cannot change visible in onshow or onhide


setral...@gmx.net (setraline) wrote in <3ab2df18_1@dnews>:

Quote
>i am getting this error trying to show a form when the main form is
>activated.  i dont know how to fix this.  i also would like to know how to
>reset/load the tcpClient control because if i am disconnected and try to
>connect again i get an access violation error.

IYou shouldn't be getting an AV. Are you freeing the component?

Re:getting error cannot change visible in onshow or onhide


i fixed the problem.  i switched the form load sequence of the application.

Other Threads