Results 1 to 2 of 2

Thread: Show/hide controls as needed...

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Apr 2004
    Posts
    95

    Show/hide controls as needed...

    I'm trying to implement a lot of controls on a limited space without using tabs, so what's the best way to do that at design time? The panel control seems transparent straight through to the form, so I tried overlaying two panels together and I was going to hide one and show the other but that's not going to work.

    Is that gonna tax a user's system anyway? Should I create the controls at run time when I need them? And if I wanted to do that, what's the best way to do it, have methods within my main form's class that create the controls and call the methods when I need to show them?

    I really could use a quick reply on this, don't need a whole lot of info just some quick explanation.

  2. #2
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682
    Try Groupbox control instead of panel.
    I don't live here any more.

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