OcxScale Property (Form Object)

Purpose

Sets or returns a value that determines the scaling units for Ocx controls.

Syntax

[Form.]OcxScale [= True | False]

Description

When OcxScale = True the coordinates of the Ocx controls are expected to be in the current ScaleMode. When OcxScale = 0 (False) the Ocx coordinates are expected in pixels (default).

Example

OpenW 1

Ocx Command cmd0 = "Normal", 10, 10, 80, 24

ScaleMode = basTwips

OcxScale = True

Ocx Command cmd1 = "Very Small", 10, 10, 180, 124

Do

Sleep

Until Me Is Nothing

See Also

Form

{Created by Sjouke Hamstra; Last updated: 20/10/2014 by James Gaite}