ScaleMode Property

Applies To   See Also

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.

Syntax

Object.ScaleMode = nMode

Settings

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.