Results 1 to 7 of 7

Thread: Sizing Controls at runtime??

  1. #1

    Thread Starter
    Hyperactive Member Pozzi's Avatar
    Join Date
    Feb 2001
    Location
    The Stones!
    Posts
    507

    Question Sizing Controls at runtime??

    I want to create an explorer type form.

    On it, it'll have two TreeView's and two Listboxes. One TreeView and Listbox will be for the Local PC the other TreeView and Listbox will be for a host PC.

    My question is how do I size these at runtime and create a splitter bar for both horizontal and vertical splitting?

    Regards.
    VB.Net (VS 2010)

  2. #2

    Thread Starter
    Hyperactive Member Pozzi's Avatar
    Join Date
    Feb 2001
    Location
    The Stones!
    Posts
    507
    I'm using ListView's and not Listboxes, not that that should make any difference.

    Regards
    VB.Net (VS 2010)

  3. #3

    Thread Starter
    Hyperactive Member Pozzi's Avatar
    Join Date
    Feb 2001
    Location
    The Stones!
    Posts
    507

    Talking

    Good Morning All,

    Anyone have any ideas or pointers?

    I want to achive a form similar to Terrapin.

    Regards
    VB.Net (VS 2010)

  4. #4

    Thread Starter
    Hyperactive Member Pozzi's Avatar
    Join Date
    Feb 2001
    Location
    The Stones!
    Posts
    507
    Just in case here's a screen dump...
    Attached Images Attached Images  
    VB.Net (VS 2010)

  5. #5
    gaffa
    Guest
    There was a thread today or yesterday that had a few different spliter bar classes. Do a search and you should find it...

    - gaffa

  6. #6

    Thread Starter
    Hyperactive Member Pozzi's Avatar
    Join Date
    Feb 2001
    Location
    The Stones!
    Posts
    507
    Many thanks.
    VB.Net (VS 2010)

  7. #7
    Member
    Join Date
    May 2001
    Location
    US Of A
    Posts
    41
    well try control.height and control.width to resize and to move on form control.top and control.left . that should help you

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