PDA

View Full Version : ToolTip for UITextField


ksr732
03-13-2009, 05:42 PM
Hi,
I'm doing a project using MXML (flex3 SDK) on linux. I'm facing a problem with assigning the proper coordinates of the tooltip for a UITextField. For UITextField Object, we set the tooltip by the following command :

var btn:UITextField=new UITextField;
btn.text="Hello"
btn.tooltip="Welcome" (only text for a tooltip can be set )

Now, logically tooltip is associated with the UITextField and should appear when mouse rolls on it but in my case, tooltip of some other label is being displayed. This I figured out to be a problem of mismatch of coordinates of tooltip and the UITextField.

Kindly help me get out of this problem .

Thanx in advance :)