Results 1 to 6 of 6

Thread: I need an easier way

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2000
    Posts
    65
    Is there an easy way to modify the left, top, width,
    height and font size of labels/command buttons at
    run-time depending on the user's resolution?
    I can get the resolution and then use:-
    For Each Control .....
    or even hard code the values, but.....
    does anyone know an easier way?
    Cheers in advance

  2. #2
    Hyperactive Member
    Join Date
    Mar 2000
    Posts
    461
    Nope, there isn't an easier way.

  3. #3
    Addicted Member
    Join Date
    Feb 2000
    Posts
    224
    Search in VB-World articles for Resizing controls at run time.
    If you can't pronounce my name, call me GURU

  4. #4
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715

    Wink THERE IS A WAY



    THERE IS A WAY!!!!!!!!
    ALL you need to do is:
    make a ocx, and refer to it at runtime

    NXSupport - Your one-stop source for computer help

  5. #5
    Guest
    Dimava, he is still doing the work that way. It won't make much of a difference.

  6. #6
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715


    except that it will be easier for him to write the code
    and if he creates a ocx, he can use it for other programs.
    Then again, maybe you're right, it will be easier to just write the code

    NXSupport - Your one-stop source for computer help

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