Set time that a tool tip is visible with ToolTipManager : ToolTipManager « Components « Flex






Set time that a tool tip is visible with ToolTipManager

Set time that a tool tip is visible with ToolTipManager
      
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:Script>
        
            import mx.managers.ToolTipManager;
            ToolTipManager.hideDelay = 2500;
      
    </mx:Script>

    <mx:ApplicationControlBar dock="true">
        <mx:Label text="tool tip."/>
    </mx:ApplicationControlBar>

    <mx:Button id="button" label="click me" toolTip="tool tip." />

    <mx:Label text="{(ToolTipManager.hideDelay/1000).toFixed(1)} seconds." />

</mx:Application>

   
    
    
    
    
    
  








Related examples in the same category

1.Enable tooltip with ToolTipManagerEnable tooltip with ToolTipManager
2.Set tooltip show delay with ToolTipManagerSet tooltip show delay with ToolTipManager
3.Set tooltip hide delay with ToolTipManagerSet tooltip hide delay with ToolTipManager
4.Change value of ToolTipManager.currentToolTip.text to a valueChange value of ToolTipManager.currentToolTip.text to a value
5.Create Tooltip with ToolTipManagerCreate Tooltip with ToolTipManager
6.Remove a tooltip with ToolTipManagerRemove a tooltip with ToolTipManager
7.Use ToolTipManager to create an error tipUse ToolTipManager to create an error tip
8.Use Application's initialize event to set the starting values for the ToolTipManagerUse Application's initialize event to set the starting values for the ToolTipManager