10215 : Does the phGantX have its own mouse pointer property?

Question

Mouse pointer: does the Gantt have its own mouse pointer property e.g. IphGantX3.MousePointer = VBHourGlass?

Answer

In phGantTimePackage we call the mouse pointer for Cursor. These are the properties that you can use to set and get the Cursor on particular sub components in the phGantX:

DragCursorTree ; both tree and grid
CursorTree ; both tree and grid
Cursor ; same as Cursor tree
CursorScaler
CursorGantArea

All properties takes an int, that maps to the standard cursor in the system, you can create new cursors and add their handles with this method in phGantX:

AddCursor(aCursorHandle: Integer; aIndex: Integer)

Leave a Reply