Results 1 to 4 of 4

Thread: Visual Basic

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Location
    Hyderabad,India
    Posts
    1

    Unhappy

    How can i resize entire form created in visual basic so that, when i resize the form, it automatically resizes all the controls inside it accordingly.I do not mean increasing the size of the controls inside the form, but to adjust all the controls with equal spacaing.
    Naresh M
    Ph.No:4563953

  2. #2
    Guest
    See this tip

  3. #3
    Fanatic Member
    Join Date
    Jul 2000
    Location
    Manchester NH
    Posts
    833
    HOLLLLLLLLYYYY whatever that works!!!
    Kurt Simons
    [I know I'm a hack but my clients don't!]

  4. #4
    Fanatic Member
    Join Date
    Jul 2000
    Location
    Manchester NH
    Posts
    833

    To get it so It won't resize only respace add some comment tags!
    after * scale y and over the fonts



    Ctl.Move D(0) * ScaleX, D(1) * ScaleY ', D(2) * ScaleX, D(3) * ScaleY
    ' Ctl.Width = D(2) * ScaleX
    ' Ctl.Height = D(3) * ScaleY

    'Change font size

    If ScaleX < ScaleY Then
    ' Ctl.FontSize = D(4) * ScaleX
    Else
    ' Ctl.FontSize = D(4) * ScaleY
    Kurt Simons
    [I know I'm a hack but my clients don't!]

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