"tooltipDuration"
Specifies how long a tooltip is shown.
Synopsis
void toolTipDuration(int t);
Parameters
Parameter | Description |
---|---|
t | The duration in milliseconds, how long a tooltip is shown. |
Description
Specifies how long a tooltip is shown. The time is specified in milliseconds. If the duration value is -1, the duration is calculated depending on the length of the tooltip.
main()
{
this.toolTipText("This is a tooltip");
int t = 1000;
this.toolTipDuration(t);
}