Type | Description | |||
Item as HITEM | A long expression that indicates the item's handle or 0 if the cursor is not over the cell. | |||
ColIndex as Long | A long expression that indicates the column's index. | |||
Visible as Boolean | (By Reference) A boolean expression that indicates whether the object's tooltip is visible. | |||
X as Long | (By Reference) A long expression that indicates the left location of the tooltip window. The x values is always expressed in screen coordinates. | |||
Y as Long | (By Reference) A long expression that indicates the top location of the tooltip window. The y values is always expressed in screen coordinates. | |||
CX as Long | A long expression that indicates the width of the tooltip window. | |||
CY as Long | A long expression that indicates the height of the tooltip window. |
The ToolTip event notifies your application that the control prepares the tooltip for a cell or column. Use the ToolTip event to change the default position of the tooltip window. Use the CellToolTip property to specify the cell's tooltip. Use the Tooltip property to assign a tooltip to a column. Use the ToolTipWidth property to specify the width of the tooltip window.
Syntax for ToolTip event, /NET version, on:
private void ToolTip(object sender,int Item,int ColIndex,ref bool Visible,ref int X,ref int Y,int CX,int CY) { } Private Sub ToolTip(ByVal sender As System.Object,ByVal Item As Integer,ByVal ColIndex As Integer,ByRef Visible As Boolean,ByRef X As Integer,ByRef Y As Integer,ByVal CX As Integer,ByVal CY As Integer) Handles ToolTip End Sub |
private void ToolTip(object sender, AxEXGRIDLib._IGridEvents_ToolTipEvent e) { } void OnToolTip(long Item,long ColIndex,BOOL FAR* Visible,long FAR* X,long FAR* Y,long CX,long CY) { } void __fastcall ToolTip(TObject *Sender,Exgridlib_tlb::HITEM Item,long ColIndex,VARIANT_BOOL * Visible,long * X,long * Y,long CX,long CY) { } procedure ToolTip(ASender: TObject; Item : HITEM;ColIndex : Integer;var Visible : WordBool;var X : Integer;var Y : Integer;CX : Integer;CY : Integer); begin end; procedure ToolTip(sender: System.Object; e: AxEXGRIDLib._IGridEvents_ToolTipEvent); begin end; begin event ToolTip(long Item,long ColIndex,boolean Visible,long X,long Y,long CX,long CY) end event ToolTip Private Sub ToolTip(ByVal sender As System.Object, ByVal e As AxEXGRIDLib._IGridEvents_ToolTipEvent) Handles ToolTip End Sub Private Sub ToolTip(ByVal Item As EXGRIDLibCtl.HITEM,ByVal ColIndex As Long,Visible As Boolean,X As Long,Y As Long,ByVal CX As Long,ByVal CY As Long) End Sub Private Sub ToolTip(ByVal Item As Long,ByVal ColIndex As Long,Visible As Boolean,X As Long,Y As Long,ByVal CX As Long,ByVal CY As Long) End Sub LPARAMETERS Item,ColIndex,Visible,X,Y,CX,CY PROCEDURE OnToolTip(oGrid,Item,ColIndex,Visible,X,Y,CX,CY) RETURN |
<SCRIPT EVENT="ToolTip(Item,ColIndex,Visible,X,Y,CX,CY)" LANGUAGE="JScript"> </SCRIPT> <SCRIPT LANGUAGE="VBScript"> Function ToolTip(Item,ColIndex,Visible,X,Y,CX,CY) End Function </SCRIPT> Procedure OnComToolTip HITEM llItem Integer llColIndex Boolean llVisible Integer llX Integer llY Integer llCX Integer llCY Forward Send OnComToolTip llItem llColIndex llVisible llX llY llCX llCY End_Procedure METHOD OCX_ToolTip(Item,ColIndex,Visible,X,Y,CX,CY) CLASS MainDialog RETURN NIL void onEvent_ToolTip(int _Item,int _ColIndex,COMVariant /*bool*/ _Visible,COMVariant /*long*/ _X,COMVariant /*long*/ _Y,int _CX,int _CY) { } function ToolTip as v (Item as OLE::Exontrol.Grid.1::HITEM,ColIndex as N,Visible as L,X as N,Y as N,CX as N,CY as N) end function function nativeObject_ToolTip(Item,ColIndex,Visible,X,Y,CX,CY) return |