From Xojo Documentation
The number of straight line segments to use to approximate a curve. The default value of zero will cause a "sensible" number of segments to be used.
The following method is in the MouseDown event of a Window. It draws a simple curve when the user presses the mouse button. The negative value of ControlY(0) places the control point above the imaginary straight line from x,y to x2,y2.