ComponentOne VSView 8.0
Action Property (VSDraw)

Executes actions such as clear, show, and print.

Syntax

val% = [form!]VSDraw.Action

Remarks

This property was initially implemented in the VBX version of the VSDraw control, which did not support custom methods. It is still supported for compatibility with older projects, but there are equivalent methods for most of its settings. When possible, the methods should be used instead of the Action property, because they provide more options and result in clearer code.

The settings for the Action property are described below:

Constant

Value

Description

daNone

0

No effect.

daClear

1

Clears the control. Equivalent to the Clear method.

daDraw

2

Repaints the control. Equivalent to the Show method.

daPrint

3

Prints the contents of the control on the default printer. The output is scaled to fit the page and preserve the aspect ratio. Equivalent to the Print method.

daChoosePrint

4

Shows a printer setup dialog, then prints the contents of the control on the default printer.

daCopy

5

Copies the contents of the control to the clipboard.  Equivalent to the Copy method.

Data Type

DrawActionSettings (Enumeration)

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback