Results 1 to 7 of 7

Thread: Using a Panel as a Frame

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2001
    Location
    Fort Lauderdale, FL
    Posts
    98

    Using a Panel as a Frame

    OK, so I'm using a Panel in place of the vb 6 frame. I want to be able to place 3 or 4 panels right on top of one another and just make visible the ones needed.
    But...
    When I try to drag a panel1 over top of panel2, panel2 ends up being inserted into panel1.

    Is there anything I can do here?

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Just drag somewhere else then move it with the Location property.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Feb 2001
    Location
    Fort Lauderdale, FL
    Posts
    98
    What about anchoring?

  4. #4
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    You can set everything using the propertygrid at designtime? As long as you don't drag the panel over the other initially you should be alright.

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Feb 2001
    Location
    Fort Lauderdale, FL
    Posts
    98
    Since I'm using web controls, I don't have a location (or left, top, x, or y) property.
    panel1.?? what? Attribute??

  6. #6
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    You didn't mention that this is an ASP.NET project, I'm not sure then. What is it you are attempting to do with the panels? Couldn't you just fill the 1 panel's contents dynamcially?

  7. #7

    Thread Starter
    Lively Member
    Join Date
    Feb 2001
    Location
    Fort Lauderdale, FL
    Posts
    98
    sorry. I keep forgetting it's not just VB anymore.
    I probably should've been in the ASP.net forum.

    That's what I'm doing now. I was hoping to just set it up like you would frames and just make 1 visible when you need to.

    Thanks!

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