collapseable panel with a button

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mankeluvsit
    New Member
    • Mar 2010
    • 3

    collapseable panel with a button

    im trying to create a panel thats hidden untill a button is pushed, it will expand the form automatically to fit the panel inside.
    the only way i can really describe is a image.

    (click here)
  • tlhintoq
    Recognized Expert Specialist
    • Mar 2008
    • 3532

    #2
    Originally posted by OriginalPoster
    I have xxx, then do yyy then zzz happens. Here's my code ...
    Ok. You know what you have.
    What you don't have is a question. Nobody here knows why you posted this since you haven't asked anything. What is it you are looking for?
    I recommend you read the FAQ about How to ask a good question so the volunteers will be able to help you.

    Comment

    • Frinavale
      Recognized Expert Expert
      • Oct 2006
      • 9749

      #3
      Well I have no idea what you're having problems with because you haven't asked a question (you've just stated what needs to be done).

      To accomplish what you want, add a panel to the page/window/form (whatever you call it) and set it's Visible property to False. Then when the user clicks the button set it's Visible property to True....

      It's really that simple.

      Comment

      • semomaniz
        Recognized Expert New Member
        • Oct 2007
        • 210

        #4
        If i understand you correctly use the VISIBLE="FALSE" property of the panel and when you click the button set it to true on your click event.

        Comment

        Working...