Results 1 to 3 of 3

Thread: [RESOLVED] UserControl ScaleMode issue

  1. #1

    Thread Starter
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Resolved [RESOLVED] UserControl ScaleMode issue

    I made a UserControl that has its ControlContainer property set to True, and its ScaleMode property set to vbPixels.

    The form it's on also has its ScaleMode set to vbPixels.

    But, the controls inside the container seem to have their width, height, left, and top as Twips. Is there anyway to fix this?

    I'm also not sure why I'm putting everything in italics. Sorry.

  2. #2
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    Re: UserControl ScaleMode issue

    It is a bug. No idea if it was ever fixed.

    http://support.microsoft.com/kb/188552

    Use the ScaleX, ScaleY functions to return the desired value.

  3. #3

    Thread Starter
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: UserControl ScaleMode issue

    Quote Originally Posted by brucevde View Post
    Use the ScaleX, ScaleY functions to return the desired value.
    Yeah, that's what I've been doing. Oh well, thanks.

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