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.
DataWindow, Button, Column, Computed Field, Graph, GroupBox, Line, OLE, Oval, Picture, Rectangle, Report, RoundRectangle, TableBlob, and Text controls
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. |
Select the control and set the value in the Properties window, Appearance category. For the DataWindow object itself, select the Pointer category.
[Visual Basic] setting = dw1.Describe("graph_1.Pointer")
dw1.Modify("graph_1.Pointer = 'Cross!'")
dw1.Modify("graph_1.Pointer = 'c:\pb040\mycurs.cur'")