Description
Sets a color cell hint text.
Syntax
Ctlname.SetColorCellToolTip (int nRow, int nCol, String strToolTip)
Return Type
Boolean
Remarks
Use this method to set a specified nRow and nCol color cell tooltip text. nRow and nCol must be smaller than ColorBoxDimension, or the method would be failed.
Sets parameter strToolTip to empty, this method will clear the specified color cell tooltip text.
This function also can implement through ColorBoxTooltips property, see also ColorBoxTooltips property.
Notes: Color cells tooltip texts will not synchronize automatically after its value is changed. All color cells tooltip texts need be modify manually if you hope it has meaning, refer to following sample.
Samples
' Any color’s change, you need sets the tooltip text for it again if you hope this color cell tooltip has meaning
If ColorPicker1.SetColorCellColor(3, 1, RGB(233, 12, 221), False) then
ColorPicker1.SetColorCellToolTip(3, 1, “RGB(233, 12, 221)”)
End if