Pointer

Description

The image to be used for the mouse pointer when the pointer is over the specified control. If you specify a pointer for the whole DataWindow, the DataWindow server uses that pointer except when the pointer is over a control that also has a Pointer setting.

Applies to

DataWindow, Button, Column, Computed Field, Graph, GroupBox, Line, OLE, Oval, Picture, Rectangle, Report, RoundRectangle, TableBlob, and Text controls

Syntax

Describe and Modify argument:

"controlname.Pointer { = ' pointername ' }"

Parameter

Description

controlname

The name of the control in the DataWindow for which you want to get or set the pointer. Specify DataWindow to specify the pointer for the whole DataWindow.

pointername

(exp) A string specifying a value of the Pointer enumerated datatype or the name of a cursor file (.CUR) to be used for the pointer. (See the SetPointer method for a list of Pointer values.) Pointername can be a quoted DataWindow expression.

Usage


In the painter

Select the control and set the value in the Properties window, Appearance category. For the DataWindow object itself, select the Pointer category.

Examples

Example 1

[Visual Basic]
setting = dw1.Describe("graph_1.Pointer")

Example 2

dw1.Modify("graph_1.Pointer = 'Cross!'")

Example 3

dw1.Modify("graph_1.Pointer = 'c:\pb040\mycurs.cur'")