TClrCustomToolTip Class

TClrCustomToolTip is the base class which represents a small rectangular pop-up window that displays a brief description of a control's purpose when the user rests the pointer on the control.

Namespace: CNClrLib.Control.Base
TComponent
  CNClrLib.Control.Base.TClrBaseComponent
    CNClrLib.Control.Base.TClrCustomToolTip
      CNClrLib.Component.ToolTip.TCnToolTip
type
 TClrCustomToolTip = class(TClrBaseComponent)
 end;

The TClrCustomToolTip type exposes the following members.

Show:
 NameDescription
Create(TComponent)

Creates and initializes a TClrCustomToolTip instance. (Overrides TClrBaseComponent.Create(TComponent).)

Top
Show:
 NameDescription
DefaultClrObject

Get the common language runtime object interface for this component. (Inherited from TClrBaseComponent.)

Duration

Gets or sets time in milliseconds to display the ToolTip.

Top
Show:
 NameDescription
Dispose

Releases the resources used by the Component. (Inherited from TClrBaseComponent.)

DoGetDefaultClrObject

Represents method DoGetDefaultClrObject. (Inherited from TClrBaseComponent.)

DoGetDotNetBaseComponent

Represents method DoGetDotNetBaseComponent. (Inherited from TClrBaseComponent.)

GetClrObject

Represents method GetClrObject. (Inherited from TClrBaseComponent.)

GetToolTip(TClrCustomControl)

Retrieves the ToolTip text associated with the specified control.

Hide(TClrCustomControl)

Hides the specified ToolTip window.

RegisterEventCallBack(ClrWString,Pointer)

Add an event to the instance using the specified event name and function pointer which is the event handler. The RegisterEventCallBack method does not directly add the event handler to the event. A hooking mechanism is used such that if the event is fired, the hook event is also fired which in turn calls the function pointer. (Inherited from TClrBaseComponent.)

RegisterEventSource

Register the Delphi object which will raise the .Net event handler. (Inherited from TClrBaseComponent.)

SetToolTip(TClrCustomControl,String)

Associates ToolTip text with the specified control.

Show(String,TClrCustomControl)

Overloaded. Sets the ToolTip text associated with the specified control, and displays the ToolTip modally.

Show(String,TClrCustomControl,Integer)

Overloaded. Sets the ToolTip text associated with the specified control, and then displays the ToolTip for the specified duration.

Show(String,TClrCustomControl,Integer,Integer)

Overloaded. Sets the ToolTip text associated with the specified control, and then displays the ToolTip modally at the specified relative position.

Show(String,TClrCustomControl,Integer,Integer,Integer)

Overloaded. Sets the ToolTip text associated with the specified control, and then displays the ToolTip for the specified duration at the specified relative position.

Show(String,TClrCustomControl,_Point)

Overloaded. Sets the ToolTip text associated with the specified control, and then displays the ToolTip modally at the specified relative position.

Show(String,TClrCustomControl,_Point,Integer)

Overloaded. Sets the ToolTip text associated with the specified control, and then displays the ToolTip for the specified duration at the specified relative position.

UnRegisterEventCallBack(ClrWString,Pointer)

Remove an event from the instance using the specified event name and function pointer which is the event handler. (Inherited from TClrBaseComponent.)

UnRegisterEventSource

Unregister the Delphi object which raised the .Net event handler. (Inherited from TClrBaseComponent.)

Top