ScaleMode Property

Specifies the unit of measurement for the coordinates of an object when using graphics methods or when positioning controls. Available at design time and run time.

Object.ScaleMode = nMode

Property Values

  • nMode
    The settings for the ScaleMode property are:
    Setting Description
    0 Foxels (A Visual FoxPro term. Equivalent to the maximum height and average width of a character in the current font.)
    3 Pixels (default; smallest unit of monitor or printer resolution)

Remarks

If you create a custom visual class for cross-platform use, be sure that the ScaleMode property for Forms in the visual class is set to pixels.

See Also

DrawMode Property | DrawStyle Property

Applies To: Form | _SCREEN | ToolBar