Click here to Skip to main content
15,886,857 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
flowLayoutPanel is showing visibility false even its true

when i run the form 1st time i get its visibility & its actually visible

but the problem occurs when i close the form & again i open it from another form ( at runtime w/o

closing project) its visibility shows false in msgbox bt in actually its visible true

Please help!!!!!!
Posted
Comments
Mr.TMG 19-Oct-13 0:36am    
Your question is a little vague, please try to provide more information. Like a sample of code.

I assume that you are having trouble opening a window after it's been closed once. Question: Are you declaring new instances of each window? or are you calling the form class directly? dim x as new MyWindow
x.show
after x closes, it's gone. Stop it from closing by monitoring the form closing event. under close reason, if it was closed by the user then set cancel to true in the event args and call me.hide.
Omkaara 19-Oct-13 0:50am    
no every control is static
i am only adding event handlers on load & removing handlers on me.close

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900