Results 1 to 3 of 3

Thread: controls in a groupbox that resides on a tab control

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2003
    Posts
    93

    controls in a groupbox that resides on a tab control

    Hopefully someone has tried this before.

    I have a group of controls, mostly textboxes & comboboxes that are placed on a groupbox control. This groupbox is then placed on a tab of a tab control.

    What I would like to happen is that on the form load, the controls that are inside the groupbox would be unenabled but the tab control to be enabled so the user can select the correct tab. Once the correct tab is selected they will then select a New button that will enabled the controls within the groupbox.

    I have it working so that either all of the controls, including the tab are enabled or unenabled. If I unenable the tab control then all of the controls on the groupbox are then unenabled and if I enable the tab control the controls in the groupbox are enabled.

    From what I understand the controls placed on the "parent" control will then take on the characteristics of the "parent" but isn't there a way to get around that?

    Thanks

  2. #2
    Frenzied Member
    Join Date
    Oct 2002
    Location
    Gammapolis
    Posts
    1,474
    What happens if you disable the Groupbox befroe choosing NEW and then enable it?
    'Heading for the automatic overload'
    Marillion, Brave, The Great Escape, 1994

    'How will WE stand the FIRE TOMORROW?'
    Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jul 2003
    Posts
    93
    Lunatic3,

    Thanks for the response, I tried that and it worked perfectly!

    Corinne

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