groupbox

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • jim@aol.com

    #1

    groupbox

    I have two panels of identical sie. I would like to postion them on
    the same part of the form and have one become visible and the other
    invisible depending on other actions that occur on the form. The
    problem is that when I position one over the other one becomes
    "contained" with in the other. s there a way to prvent this from
    occuring?

  • Miro

    #2
    Re: groupbox

    Yes...

    Instead of dragging the one panel above the other...
    go to the properties of the first panel...look at the "Location" property,

    and then click on the second tab, and click on the properties and change the
    Location thru the properties.

    Then to access any of the two panels, right click on the panel and just
    click on "Send to back"...

    Miro

    <jim@aol.comwro te in message
    news:gsg4t2l8ss 9f8kaqlt28es18u nqcgjh627@4ax.c om...
    >I have two panels of identical sie. I would like to postion them on
    the same part of the form and have one become visible and the other
    invisible depending on other actions that occur on the form. The
    problem is that when I position one over the other one becomes
    "contained" with in the other. s there a way to prvent this from
    occuring?
    >

    Comment

    • Jim@aol.com

      #3
      Re: groupbox

      I had tried that. However, just to torture myself (and whoever helps)
      the first group panel sit in an tabcontrol..If I do what you say the
      second control sit "in the air" so to speack so when I change tabpages
      it is always visible. The only way around it was to right additional
      code to make it disappear when I change tab pages. It is nt elegant
      and make it difficult to work on the UI. on group panel block
      everything


      On Tue, 13 Feb 2007 19:54:44 -0500, "Miro" <mironagy@golde n.net>
      wrote:
      >Yes...
      >
      >Instead of dragging the one panel above the other...
      >go to the properties of the first panel...look at the "Location" property,
      >
      >and then click on the second tab, and click on the properties and change the
      >Location thru the properties.
      >
      >Then to access any of the two panels, right click on the panel and just
      >click on "Send to back"...
      >
      >Miro
      >
      ><jim@aol.comwr ote in message
      >news:gsg4t2l8s s9f8kaqlt28es18 unqcgjh627@4ax. com...
      >>I have two panels of identical sie. I would like to postion them on
      >the same part of the form and have one become visible and the other
      >invisible depending on other actions that occur on the form. The
      >problem is that when I position one over the other one becomes
      >"contained" with in the other. s there a way to prvent this from
      >occuring?
      >>
      >

      Comment

      • Miro

        #4
        Re: groupbox

        I dont fully understand.

        If you have a Tab Page...
        and have 2 tabs... Tab A and Tab B

        and on Tab A you have two panels, and have made the "Location" property the
        same. They are both a Child of Tab A, so will disapear automatically when
        you switch to Tab B.

        I think your issue is that you have 1 Panel created within Tab A and one
        Outside of it?
        If this is the case, you have to create both Panels inside and then do the
        Location Thing.

        Can you do a quick screenshot / jpg of the tab page and panel in question ?

        M.

        <Jim@aol.comwro te in message
        news:0mt4t2dfe2 plgm5n3bm0shfkb 5kfsbdkhk@4ax.c om...
        >I had tried that. However, just to torture myself (and whoever helps)
        the first group panel sit in an tabcontrol..If I do what you say the
        second control sit "in the air" so to speack so when I change tabpages
        it is always visible. The only way around it was to right additional
        code to make it disappear when I change tab pages. It is nt elegant
        and make it difficult to work on the UI. on group panel block
        everything
        >
        >
        On Tue, 13 Feb 2007 19:54:44 -0500, "Miro" <mironagy@golde n.net>
        wrote:
        >
        >>Yes...
        >>
        >>Instead of dragging the one panel above the other...
        >>go to the properties of the first panel...look at the "Location" property,
        >>
        >>and then click on the second tab, and click on the properties and change
        >>the
        >>Location thru the properties.
        >>
        >>Then to access any of the two panels, right click on the panel and just
        >>click on "Send to back"...
        >>
        >>Miro
        >>
        >><jim@aol.comw rote in message
        >>news:gsg4t2l8 ss9f8kaqlt28es1 8unqcgjh627@4ax .com...
        >>>I have two panels of identical sie. I would like to postion them on
        >>the same part of the form and have one become visible and the other
        >>invisible depending on other actions that occur on the form. The
        >>problem is that when I position one over the other one becomes
        >>"contained" with in the other. s there a way to prvent this from
        >>occuring?
        >>>
        >>
        >

        Comment

        • Jim@aol.com

          #5
          Re: groupbox

          On Tue, 13 Feb 2007 21:58:05 -0500, "Miro" <mironagy@golde n.net>
          wrote:
          >I dont fully understand.
          Yes
          >If you have a Tab Page...
          >and have 2 tabs... Tab A and Tab B
          >
          Yes
          >and on Tab A you have two panels, and have made the "Location" property the
          >same.
          No
          >They are both a Child of Tab A, so will disapear automatically when
          >you switch to Tab B.
          One ends up being a child of TabA the other ends up being a child of
          the main form. If I try to put in on tab A it becomes a child of the
          panel which is a child of tab A
          >
          >I think your issue is that you have 1 Panel created within Tab A and one
          >Outside of it?
          >If this is the case, you have to create both Panels inside and then do the
          >Location Thing.
          Correct but I cnnot seem to control how to creat bot within Tab A it
          keeps getting "sucked in"

          >
          >Can you do a quick screenshot / jpg of the tab page and panel in question ?
          >
          >M.
          >
          ><Jim@aol.comwr ote in message
          >news:0mt4t2dfe 2plgm5n3bm0shfk b5kfsbdkhk@4ax. com...
          >>I had tried that. However, just to torture myself (and whoever helps)
          >the first group panel sit in an tabcontrol..If I do what you say the
          >second control sit "in the air" so to speack so when I change tabpages
          >it is always visible. The only way around it was to right additional
          >code to make it disappear when I change tab pages. It is nt elegant
          >and make it difficult to work on the UI. on group panel block
          >everything
          >>
          >>
          >On Tue, 13 Feb 2007 19:54:44 -0500, "Miro" <mironagy@golde n.net>
          >wrote:
          >>
          >>>Yes...
          >>>
          >>>Instead of dragging the one panel above the other...
          >>>go to the properties of the first panel...look at the "Location" property,
          >>>
          >>>and then click on the second tab, and click on the properties and change
          >>>the
          >>>Location thru the properties.
          >>>
          >>>Then to access any of the two panels, right click on the panel and just
          >>>click on "Send to back"...
          >>>
          >>>Miro
          >>>
          >>><jim@aol.com wrote in message
          >>>news:gsg4t2l 8ss9f8kaqlt28es 18unqcgjh627@4a x.com...
          >>>>I have two panels of identical sie. I would like to postion them on
          >>>the same part of the form and have one become visible and the other
          >>>invisible depending on other actions that occur on the form. The
          >>>problem is that when I position one over the other one becomes
          >>>"contained " with in the other. s there a way to prvent this from
          >>>occuring?
          >>>>
          >>>
          >>
          >

          Comment

          Working...