Scale Method Not Supported

Visual Basic 6.0 uses a unique syntax for the Scale method, which the toolkit does not support. Instead, the toolkit provides the SetScale method, which has the standard method call syntax.

The following code example shows a statement that generates a Scale Method Not Supported error.

ThisForm.Scale (0, 110)  (130, 0)

The following code example shows how to revise the statement to avoid the error.

ThisForm.SetScale 0, 110, 130, 0