Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

An odd thing occurs when I remove a tabpage programmatically from my tabcontrol (odd to me, maybe not to others), the program loses it's abillity to close.

 

Can't click the little X button, no alt-f4, can't use my program's file menu- exit....

 

I have to to go into task manager and end the task.

 

Any ideas?

 

This only occurs when I keep the remove code in. If I set the File Menu - Exit to application.exit instead of me.close() it can quit, but I'm wondering if something is being overwritten, and how or if I can stop it.

 

Thanks for any help.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...