CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Controls Vanish

  1. #1
    Join Date
    Aug 1999
    Posts
    5

    Controls Vanish

    Iam using Tab Control,in order to save Space.Controls placed on the Tabs Vanish.Properties window shows their existence on the Form,But they do not appear on the Tabs.I had
    checked the Tab control Properties.Everything looks normal.


  2. #2
    Join Date
    May 1999
    Location
    Omika, Japan
    Posts
    729

    Re: Controls Vanish

    Hi,

    You have not mentioned which 'tab' control you are using?
    If you are using Tab Strip that comes with Microsoft Common Controls collection ( with Listview & tree view etc) then this control is not a container. So the controls will not automatically change their positions. You have to write some code for it.

    Also, set the Z-order of the Tabstrip to send it back, in code or in desing mode.

    You can place your controls in other containers like Frame (prefered) or Picturebox (overkill) and manupulate them.

    If you are using Sheradian Tab (SSTab), then it will work the same way in desing & run modes.

    Ravi Kiran


  3. #3
    Join Date
    Aug 1999
    Posts
    5

    Re: Controls Vanish

    Hi Ravi,
    Thank you for your prompt reply.
    In fact I am using Sheradian Tab (SSTab)control and Tab strip,which
    cannot be used for placing controls,since it is not a container control like
    SSTab.
    What exactly happening is,I am able to place Controls on the Tabs and write the required code etc,but all of a sudden they dissapear from the Tabs.Tabs are totally blank as if I had not placed any controls on them.
    This may happen at any time.Sometimes the controls may last on the Tabs for day,week or a month.But one fine day,I don't see them at all.I have no clue as to why this is happening.


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