Checkbox

<< Click to Display Table of Contents >>

Navigation:  Interactive Objects >

Checkbox

Previous pageReturn to chapter overviewNext page

Inserts a Checkbox into the document.

method TVPEObject VPE.Checkbox(

VpeCoord Left,

VpeCoord Top,

VpeCoord Right,

VpeCoord Bottom

)

VpeCoord Left, Top, Right, Bottom

position and dimensions

Returns:

The VPE Object which represents the control. This VPE Object can be used later in your code to, for example, set the input focus on it or to retrieve its value and to change some of its properties.

Remarks:

VPE offers several methods to attach an object's position to margins and relative to the position of previously inserted objects. In addition Text, Rich Text and Picture objects are able to compute their dimensions automatically depending on their visual content.
For details please see "Dynamic Positioning" in the Programmer's Manual.

Example:

Dim Control as TVPEObject

Control = Doc.Checkbox(1, 1, -0.5, -0.5)

 

See also:

"Interactive Documents" in the Programmer's Manual.