Results 1 to 2 of 2

Thread: Resizing My App Window

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2000
    Location
    Greenville
    Posts
    73
    On the side from all that connecting to Word problem I am having when I loaded my app onto anothers machine it takes up the entire screen size and I just want it to crop to about half the size in the middle (which is how it looks on my computer) so how do I change the size of it on others. I already tried changing the resolution on theirs but it changes all of their windows and I don't want to do that. Thanks!

  2. #2
    Fanatic Member
    Join Date
    Jan 1999
    Location
    UK
    Posts
    554

    Lightbulb

    Sub ResizeMyForm(frmThisForm as form, tThisSize as integer)
    'frmThisform is the form you want to resize
    'tThissize is the size as a fraction of the screen
    ' so if you want half screen size then it would be 2
    ' so if you want qtr screen size it would be 4

    frmthisform.width=(screen.width/tthissize)

    course i only put the width, just addd another param for height


    DocZaf
    {;->



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