CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2001
    Location
    Vadodara, Gujarat, India
    Posts
    52

    Question Tabpage Event problem

    I have some tabpages with panel control on my form. I am using tabcontrol1.selectedindex = no statement for activating tabpage programmable. I want that when tabpage activate programmable or by clicking its tab button, I want to add some Label and TextBox control to panel which is on tabpage. And I want that when my tabpage deactivate I want that all controls from that panel remove. For this I tried TabPage1_Enter event but it not works. At present I code in TAbPage1_VisibaleChange event. It is working but not proper.

    Can anyone tell me that how I can add controls to panel and activate and show that tabpage and remove all controls when tabpage get deactivate?

    Ajay

  2. #2
    Join Date
    Apr 2001
    Location
    Vadodara, Gujarat, India
    Posts
    52

    Unhappy Re: Tabpage Event problem

    everyone please look in question and reply me if u find any solution for enter event.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured