Results 1 to 4 of 4

Thread: what is scaleleft,scalewidth etc..?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2002
    Posts
    22

    what is scaleleft,scalewidth etc..?

    Is scaleleft position minus borders? What about textbox without borders?

  2. #2
    PowerPoster abdul's Avatar
    Join Date
    Dec 2000
    Location
    Ontario,Canada
    Posts
    2,827
    Nope, Scale* properties are measured in the units you set them to. They are Twips, Pixels, Characters, etc. If you just use Width, Height, Left, or Top, it'll return the value in Twips which is default in VB. But all the APIs used Pixel mode instead of Twip, that's why it's a good idea to use Scale* after setting the Scalemode to Pixels.
    Baaaaaaaaah

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jan 2002
    Posts
    22
    Then how do you calculate the actual form area minus boeders?

  4. #4
    PowerPoster abdul's Avatar
    Join Date
    Dec 2000
    Location
    Ontario,Canada
    Posts
    2,827
    I don't think borders are included when you use "Scalewidth" or "Width". So you can use these properties to get the form's actual dimensions.
    Baaaaaaaaah

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