Results 1 to 5 of 5

Thread: [RESOLVED] Command button to resize window (to show settings)

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2009
    Posts
    145

    Resolved [RESOLVED] Command button to resize window (to show settings)

    Hi all,

    Long time no post.

    I was wondering if there is a way I can do this:

    I would like to have a button (say a normal command button) that could resize my program window (expand to the right) to show hidden settings that are not visible normally) and then another button to resize it back to normal size again (to hide the settings)?

    Can that be done?

    Thanks in advance for any help and suggestions on how to do this.

  2. #2
    Frenzied Member
    Join Date
    May 2006
    Location
    some place in the cloud
    Posts
    1,886

    Re: Command button to resize window (to show settings)

    You could use the form property : Width
    JG


    ... If your problem is fixed don't forget to mark your threads as resolved using the Thread Tools menu ...

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Feb 2009
    Posts
    145

    Re: Command button to resize window (to show settings)

    Quote Originally Posted by jggtz View Post
    You could use the form property : Width
    Hi, thanks for responding.

    And this could be set/changed via a command button?

    Thanks.

  4. #4
    Frenzied Member
    Join Date
    May 2006
    Location
    some place in the cloud
    Posts
    1,886

    Re: Command button to resize window (to show settings)

    You can learn a little more here ---> http://msdn.microsoft.com/en-us/libr...(v=vs.60).aspx
    JG


    ... If your problem is fixed don't forget to mark your threads as resolved using the Thread Tools menu ...

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Feb 2009
    Posts
    145

    RESOLVED - Re: Command button to resize window (to show settings)

    This solution worked for me. Thank you.

Tags for this Thread

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