Visit Gigasoft's Web Site
 ProEssentials v10 Help

CustomGridNumber Event

Scope Graph, Scientific Graph and Polar/Smith OCX/VCL

 

Sub ctlname_CustomGridNumber(nAxisType As Integer, nAxisIndex As Integer, dNumber As Double, szData As String)

 

Enables run-time formatting of grid numbers.  Read the nAxisType, nAxisIndex, and dNumber to know how to format and set the szData argument.

 

Parameter

Description

nAxisType

0=Left Y

1=Right Y

2=X

3=Top X

4=Extra X Axis

5=Extra Top X Axis

nAxisIndex

Zero based index of axis

dNumber

Double grid value of location clicked.

szData

String to replace grid number

 

Comments

This event is only fired if CustomGridNumbersRY, CustomGridNumbersTX, CustomGridNumbersX, CustomGridNumbersY, CustomGridNumbersZ, CustomGridNumbersEX, and/or CustomGridNumbersETX are TRUE.

 

See Also: Example 132 in demo.