Re: [flexcoders] Re: Tooltip in itemeditor of datagrid BUG or... WIsh...

2007-06-04 Thread Harish Sivaramakrishnan

are you looking at something like this?
http://flexgeek.wordpress.com/2007/06/04/tips-tricks-itemeditors-iii/

On 6/3/07, Alex Harui [EMAIL PROTECTED] wrote:


   Tried it in hotfix2, tooltip came up and editor did not lose focus.
Which player, browser, os?


 --

*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *nxzone
*Sent:* Friday, June 01, 2007 12:08 PM
*To:* flexcoders@yahoogroups.com
*Subject:* [flexcoders] Re: Tooltip in itemeditor of datagrid BUG or...
WIsh...



Enter more then 10 character in the email and rollover the textinput :)

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute
mx:XMLList id=employees
employee
nameChristina Coenraets/name
email[EMAIL PROTECTED] ccoenraets%40fictitious.com/email
/employee
/mx:XMLList
mx:Component id=actionbt 
mx:TextInput text= creationComplete=doInit()
mx:Script
![CDATA[
import mx.validators.StringValidator;
public var validator:StringValidator= new StringValidator();

private function doInit():void {
validator.source= this
validator.maxLength=10
validator.property=text;
validator.trigger=this;
validator.triggerEvent =change;
validator.validate();
}
]]
/mx:Script
/mx:TextInput
/mx:Component
mx:DataGrid id=dg y=200 editable=true width=100%
height=100% rowCount=5 dataProvider={employees}
mx:columns
mx:DataGridColumn dataField=name headerText=Name/
mx:DataGridColumn dataField=email headerText=Email
itemEditor={actionbt}/
/mx:columns
/mx:DataGrid


/mx:Application

 



[flexcoders] Re: Tooltip in itemeditor of datagrid BUG or... WIsh...

2007-06-04 Thread nxzone
My sample is working on your computer ?
I dont have hotfix2 (download in progress). I try with player 
9,0,28,0 and  9,0,45,0 on firefox and internet explorer on Windows.


--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:

 Tried it in hotfix2, tooltip came up and editor did not lose focus.
 Which player, browser, os?
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of nxzone
 Sent: Friday, June 01, 2007 12:08 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Tooltip in itemeditor of datagrid BUG or...
 WIsh...
 
  
 
 Enter more then 10 character in the email and rollover the textinput :)
 
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
 http://www.adobe.com/2006/mxml 
 layout=absolute
 mx:XMLList id=employees
 employee
 nameChristina Coenraets/name
 email[EMAIL PROTECTED] mailto:ccoenraets%40fictitious.com
 /email
 /employee
 /mx:XMLList
 mx:Component id=actionbt  
 mx:TextInput text= creationComplete=doInit()
 mx:Script
 ![CDATA[
 import mx.validators.StringValidator;
 public var validator:StringValidator= new StringValidator();
 
 private function doInit():void { 
 validator.source= this
 validator.maxLength=10
 validator.property=text;
 validator.trigger=this;
 validator.triggerEvent =change;
 validator.validate();
 }
 ]]
 /mx:Script
 /mx:TextInput
 /mx:Component 
 mx:DataGrid id=dg y=200 editable=true width=100%
 height=100% rowCount=5 dataProvider={employees}
 mx:columns
 mx:DataGridColumn dataField=name headerText=Name/
 mx:DataGridColumn dataField=email headerText=Email
 itemEditor={actionbt}/
 /mx:columns
 /mx:DataGrid
 
 
 /mx:Application





[flexcoders] Re: Tooltip in itemeditor of datagrid BUG or... WIsh...

2007-06-04 Thread nxzone
Not working with the hotfix 2. Doea anyone have try my sample?

--- In flexcoders@yahoogroups.com, nxzone [EMAIL PROTECTED] wrote:

 My sample is working on your computer ?
 I dont have hotfix2 (download in progress). I try with player 
 9,0,28,0 and  9,0,45,0 on firefox and internet explorer on Windows.
 
 
 --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote:
 
  Tried it in hotfix2, tooltip came up and editor did not lose focus.
  Which player, browser, os?
  
   
  
  
  
  From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
  Behalf Of nxzone
  Sent: Friday, June 01, 2007 12:08 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: Tooltip in itemeditor of datagrid BUG or...
  WIsh...
  
   
  
  Enter more then 10 character in the email and rollover the
textinput :)
  
  ?xml version=1.0 encoding=utf-8?
  mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
  http://www.adobe.com/2006/mxml 
  layout=absolute
  mx:XMLList id=employees
  employee
  nameChristina Coenraets/name
  emailccoenraets@ mailto:ccoenraets%40fictitious.com
  /email
  /employee
  /mx:XMLList
  mx:Component id=actionbt  
  mx:TextInput text= creationComplete=doInit()
  mx:Script
  ![CDATA[
  import mx.validators.StringValidator;
  public var validator:StringValidator= new StringValidator();
  
  private function doInit():void { 
  validator.source= this
  validator.maxLength=10
  validator.property=text;
  validator.trigger=this;
  validator.triggerEvent =change;
  validator.validate();
  }
  ]]
  /mx:Script
  /mx:TextInput
  /mx:Component 
  mx:DataGrid id=dg y=200 editable=true width=100%
  height=100% rowCount=5 dataProvider={employees}
  mx:columns
  mx:DataGridColumn dataField=name headerText=Name/
  mx:DataGridColumn dataField=email headerText=Email
  itemEditor={actionbt}/
  /mx:columns
  /mx:DataGrid
  
  
  /mx:Application
 





RE: [flexcoders] Re: Tooltip in itemeditor of datagrid BUG or... WIsh...

2007-06-04 Thread Alex Harui
I ran a test with your code on SAFlashPlayer.  There's too many
browser/player configs for me to try them all so I asked for a few
configs.

 

I'll try to run those configs today, but it may be a while before I get
to it.  Do you have a custom wrapper?

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of nxzone
Sent: Monday, June 04, 2007 7:48 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Tooltip in itemeditor of datagrid BUG or...
WIsh...

 

Not working with the hotfix 2. Doea anyone have try my sample?

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, nxzone [EMAIL PROTECTED] wrote:

 My sample is working on your computer ?
 I dont have hotfix2 (download in progress). I try with player 
 9,0,28,0 and 9,0,45,0 on firefox and internet explorer on Windows.
 
 
 --- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com , Alex Harui aharui@ wrote:
 
  Tried it in hotfix2, tooltip came up and editor did not lose focus.
  Which player, browser, os?
  
  
  
  
  
  From: flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com 
[mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
] On
  Behalf Of nxzone
  Sent: Friday, June 01, 2007 12:08 PM
  To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com

  Subject: [flexcoders] Re: Tooltip in itemeditor of datagrid BUG
or...
  WIsh...
  
  
  
  Enter more then 10 character in the email and rollover the
textinput :)
  
  ?xml version=1.0 encoding=utf-8?
  mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
http://www.adobe.com/2006/mxml 
  http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml  
  layout=absolute
  mx:XMLList id=employees
  employee
  nameChristina Coenraets/name
  emailccoenraets@ mailto:ccoenraets%40fictitious.com
  /email
  /employee
  /mx:XMLList
  mx:Component id=actionbt  
  mx:TextInput text= creationComplete=doInit()
  mx:Script
  ![CDATA[
  import mx.validators.StringValidator;
  public var validator:StringValidator= new StringValidator();
  
  private function doInit():void { 
  validator.source= this
  validator.maxLength=10
  validator.property=text;
  validator.trigger=this;
  validator.triggerEvent =change;
  validator.validate();
  }
  ]]
  /mx:Script
  /mx:TextInput
  /mx:Component 
  mx:DataGrid id=dg y=200 editable=true width=100%
  height=100% rowCount=5 dataProvider={employees}
  mx:columns
  mx:DataGridColumn dataField=name headerText=Name/
  mx:DataGridColumn dataField=email headerText=Email
  itemEditor={actionbt}/
  /mx:columns
  /mx:DataGrid
  
  
  /mx:Application
 


 



[flexcoders] Re: Tooltip in itemeditor of datagrid BUG or... WIsh...

2007-06-04 Thread nxzone
No custom html wrapper

--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:

 I ran a test with your code on SAFlashPlayer.  There's too many
 browser/player configs for me to try them all so I asked for a few
 configs.
 
  
 
 I'll try to run those configs today, but it may be a while before I get
 to it.  Do you have a custom wrapper?
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of nxzone
 Sent: Monday, June 04, 2007 7:48 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Tooltip in itemeditor of datagrid BUG or...
 WIsh...
 
  
 
 Not working with the hotfix 2. Doea anyone have try my sample?
 
 --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 , nxzone nxzone@ wrote:
 
  My sample is working on your computer ?
  I dont have hotfix2 (download in progress). I try with player 
  9,0,28,0 and 9,0,45,0 on firefox and internet explorer on Windows.
  
  
  --- In flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com , Alex Harui aharui@ wrote:
  
   Tried it in hotfix2, tooltip came up and editor did not lose focus.
   Which player, browser, os?
   
   
   
   
   
   From: flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com 
 [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 ] On
   Behalf Of nxzone
   Sent: Friday, June 01, 2007 12:08 PM
   To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 
   Subject: [flexcoders] Re: Tooltip in itemeditor of datagrid BUG
 or...
   WIsh...
   
   
   
   Enter more then 10 character in the email and rollover the
 textinput :)
   
   ?xml version=1.0 encoding=utf-8?
   mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
 http://www.adobe.com/2006/mxml 
   http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml  
   layout=absolute
   mx:XMLList id=employees
   employee
   nameChristina Coenraets/name
   emailccoenraets@ mailto:ccoenraets%40fictitious.com
   /email
   /employee
   /mx:XMLList
   mx:Component id=actionbt  
   mx:TextInput text= creationComplete=doInit()
   mx:Script
   ![CDATA[
   import mx.validators.StringValidator;
   public var validator:StringValidator= new StringValidator();
   
   private function doInit():void { 
   validator.source= this
   validator.maxLength=10
   validator.property=text;
   validator.trigger=this;
   validator.triggerEvent =change;
   validator.validate();
   }
   ]]
   /mx:Script
   /mx:TextInput
   /mx:Component 
   mx:DataGrid id=dg y=200 editable=true width=100%
   height=100% rowCount=5 dataProvider={employees}
   mx:columns
   mx:DataGridColumn dataField=name headerText=Name/
   mx:DataGridColumn dataField=email headerText=Email
   itemEditor={actionbt}/
   /mx:columns
   /mx:DataGrid
   
   
   /mx:Application
  
 





[flexcoders] Re: Tooltip in itemeditor of datagrid BUG or... WIsh...

2007-06-04 Thread nxzone
This is working but is not exacly what i'm doing... I want to find why
my code is not working...

--- In flexcoders@yahoogroups.com, Harish Sivaramakrishnan
[EMAIL PROTECTED] wrote:

 are you looking at something like this?
 http://flexgeek.wordpress.com/2007/06/04/tips-tricks-itemeditors-iii/
 
 On 6/3/07, Alex Harui [EMAIL PROTECTED] wrote:
 
 Tried it in hotfix2, tooltip came up and editor did not lose focus.
  Which player, browser, os?
 
 
   --
 
  *From:* flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] *On
  Behalf Of *nxzone
  *Sent:* Friday, June 01, 2007 12:08 PM
  *To:* flexcoders@yahoogroups.com
  *Subject:* [flexcoders] Re: Tooltip in itemeditor of datagrid BUG
or...
  WIsh...
 
 
 
  Enter more then 10 character in the email and rollover the
textinput :)
 
  ?xml version=1.0 encoding=utf-8?
  mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
  layout=absolute
  mx:XMLList id=employees
  employee
  nameChristina Coenraets/name
  email[EMAIL PROTECTED] ccoenraets%40fictitious.com/email
  /employee
  /mx:XMLList
  mx:Component id=actionbt 
  mx:TextInput text= creationComplete=doInit()
  mx:Script
  ![CDATA[
  import mx.validators.StringValidator;
  public var validator:StringValidator= new StringValidator();
 
  private function doInit():void {
  validator.source= this
  validator.maxLength=10
  validator.property=text;
  validator.trigger=this;
  validator.triggerEvent =change;
  validator.validate();
  }
  ]]
  /mx:Script
  /mx:TextInput
  /mx:Component
  mx:DataGrid id=dg y=200 editable=true width=100%
  height=100% rowCount=5 dataProvider={employees}
  mx:columns
  mx:DataGridColumn dataField=name headerText=Name/
  mx:DataGridColumn dataField=email headerText=Email
  itemEditor={actionbt}/
  /mx:columns
  /mx:DataGrid
 
 
  /mx:Application
 
   
 





RE: [flexcoders] Re: Tooltip in itemeditor of datagrid BUG or... WIsh...

2007-06-04 Thread Alex Harui
Tried FireFox and IE on WinXP.  I don't lose focus when the tooltip pops
up.

 

Can you post this on a server?  Then others can quickly see if they can
repro your situation.

 

-Alex

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of nxzone
Sent: Monday, June 04, 2007 10:33 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Tooltip in itemeditor of datagrid BUG or...
WIsh...

 

This is working but is not exacly what i'm doing... I want to find why
my code is not working...

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, Harish Sivaramakrishnan
[EMAIL PROTECTED] wrote:

 are you looking at something like this?
 http://flexgeek.wordpress.com/2007/06/04/tips-tricks-itemeditors-iii/
http://flexgeek.wordpress.com/2007/06/04/tips-tricks-itemeditors-iii/ 
 
 On 6/3/07, Alex Harui [EMAIL PROTECTED] wrote:
 
  Tried it in hotfix2, tooltip came up and editor did not lose focus.
  Which player, browser, os?
 
 
  --
 
  *From:* flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com 
[mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
] *On
  Behalf Of *nxzone
  *Sent:* Friday, June 01, 2007 12:08 PM
  *To:* flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com 
  *Subject:* [flexcoders] Re: Tooltip in itemeditor of datagrid BUG
or...
  WIsh...
 
 
 
  Enter more then 10 character in the email and rollover the
textinput :)
 
  ?xml version=1.0 encoding=utf-8?
  mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
http://www.adobe.com/2006/mxml 
  layout=absolute
  mx:XMLList id=employees
  employee
  nameChristina Coenraets/name
  email[EMAIL PROTECTED] ccoenraets%40fictitious.com/email
  /employee
  /mx:XMLList
  mx:Component id=actionbt 
  mx:TextInput text= creationComplete=doInit()
  mx:Script
  ![CDATA[
  import mx.validators.StringValidator;
  public var validator:StringValidator= new StringValidator();
 
  private function doInit():void {
  validator.source= this
  validator.maxLength=10
  validator.property=text;
  validator.trigger=this;
  validator.triggerEvent =change;
  validator.validate();
  }
  ]]
  /mx:Script
  /mx:TextInput
  /mx:Component
  mx:DataGrid id=dg y=200 editable=true width=100%
  height=100% rowCount=5 dataProvider={employees}
  mx:columns
  mx:DataGridColumn dataField=name headerText=Name/
  mx:DataGridColumn dataField=email headerText=Email
  itemEditor={actionbt}/
  /mx:columns
  /mx:DataGrid
 
 
  /mx:Application
 
  
 


 



[flexcoders] Re: Tooltip in itemeditor of datagrid BUG or... WIsh...

2007-06-04 Thread nxzone
Humm, i don't know what to say but now is working. I changed nothing
in my code and is working after reinstalling 2 time the hotfix the and
all the flash player with the debuger past SDK in my Flex builder
folder. :( Strange... I hope i was alone on the planet to have this
problem...

--- In flexcoders@yahoogroups.com, nxzone [EMAIL PROTECTED] wrote:

 Not working with the hotfix 2. Doea anyone have try my sample?
 
 --- In flexcoders@yahoogroups.com, nxzone nxzone@ wrote:
 
  My sample is working on your computer ?
  I dont have hotfix2 (download in progress). I try with player 
  9,0,28,0 and  9,0,45,0 on firefox and internet explorer on Windows.
  
  
  --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote:
  
   Tried it in hotfix2, tooltip came up and editor did not lose focus.
   Which player, browser, os?
   

   
   
   
   From: flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED] On
   Behalf Of nxzone
   Sent: Friday, June 01, 2007 12:08 PM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] Re: Tooltip in itemeditor of datagrid BUG
or...
   WIsh...
   

   
   Enter more then 10 character in the email and rollover the
 textinput :)
   
   ?xml version=1.0 encoding=utf-8?
   mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
   http://www.adobe.com/2006/mxml 
   layout=absolute
   mx:XMLList id=employees
   employee
   nameChristina Coenraets/name
   emailccoenraets@ mailto:ccoenraets%40fictitious.com
   /email
   /employee
   /mx:XMLList
   mx:Component id=actionbt  
   mx:TextInput text= creationComplete=doInit()
   mx:Script
   ![CDATA[
   import mx.validators.StringValidator;
   public var validator:StringValidator= new StringValidator();
   
   private function doInit():void { 
   validator.source= this
   validator.maxLength=10
   validator.property=text;
   validator.trigger=this;
   validator.triggerEvent =change;
   validator.validate();
   }
   ]]
   /mx:Script
   /mx:TextInput
   /mx:Component 
   mx:DataGrid id=dg y=200 editable=true width=100%
   height=100% rowCount=5 dataProvider={employees}
   mx:columns
   mx:DataGridColumn dataField=name headerText=Name/
   mx:DataGridColumn dataField=email headerText=Email
   itemEditor={actionbt}/
   /mx:columns
   /mx:DataGrid
   
   
   /mx:Application
  
 





RE: [flexcoders] Re: Tooltip in itemeditor of datagrid BUG or... WIsh...

2007-06-03 Thread Alex Harui
Tried it in hotfix2, tooltip came up and editor did not lose focus.
Which player, browser, os?

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of nxzone
Sent: Friday, June 01, 2007 12:08 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Tooltip in itemeditor of datagrid BUG or...
WIsh...

 

Enter more then 10 character in the email and rollover the textinput :)

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
http://www.adobe.com/2006/mxml 
layout=absolute
mx:XMLList id=employees
employee
nameChristina Coenraets/name
email[EMAIL PROTECTED] mailto:ccoenraets%40fictitious.com
/email
/employee
/mx:XMLList
mx:Component id=actionbt  
mx:TextInput text= creationComplete=doInit()
mx:Script
![CDATA[
import mx.validators.StringValidator;
public var validator:StringValidator= new StringValidator();

private function doInit():void { 
validator.source= this
validator.maxLength=10
validator.property=text;
validator.trigger=this;
validator.triggerEvent =change;
validator.validate();
}
]]
/mx:Script
/mx:TextInput
/mx:Component 
mx:DataGrid id=dg y=200 editable=true width=100%
height=100% rowCount=5 dataProvider={employees}
mx:columns
mx:DataGridColumn dataField=name headerText=Name/
mx:DataGridColumn dataField=email headerText=Email
itemEditor={actionbt}/
/mx:columns
/mx:DataGrid


/mx:Application

 



[flexcoders] Re: Tooltip in itemeditor of datagrid BUG or... WIsh...

2007-06-01 Thread nxzone
Enter more then 10 character in the email and rollover the textinput :)

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute
   mx:XMLList id=employees
employee
nameChristina Coenraets/name
email[EMAIL PROTECTED]/email
/employee
/mx:XMLList
mx:Component id=actionbt  
mx:TextInput text= creationComplete=doInit()
mx:Script
![CDATA[
import mx.validators.StringValidator;
public var validator:StringValidator= new 
StringValidator();

private function doInit():void {  
validator.source= this
validator.maxLength=10
validator.property=text;
validator.trigger=this;
validator.triggerEvent =change;
validator.validate();
}
]]
/mx:Script
/mx:TextInput
/mx:Component 
  mx:DataGrid id=dg y=200 editable=true width=100%
height=100% rowCount=5 dataProvider={employees}
mx:columns
mx:DataGridColumn dataField=name headerText=Name/
   mx:DataGridColumn dataField=email headerText=Email
itemEditor={actionbt}/
/mx:columns
/mx:DataGrid


/mx:Application



[flexcoders] Re: Tooltip in itemeditor of datagrid BUG or... WIsh...

2007-05-31 Thread nxzone
Nobody have a hint?

I can repeat my question as this:

How can I show the Error ToolTip after a validation in a ITEMEDITOR of
a Datagrid... We i mouse over and show the tooltip, the item editor is
close!!



RE: [flexcoders] Re: Tooltip in itemeditor of datagrid BUG or... WIsh...

2007-05-31 Thread Alex Harui
Do you have a custom tooltip?  Otherwise it shouldn't close.  How are
you setting the tooltip?

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of nxzone
Sent: Thursday, May 31, 2007 8:26 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Tooltip in itemeditor of datagrid BUG or...
WIsh...

 

Nobody have a hint?

I can repeat my question as this:

How can I show the Error ToolTip after a validation in a ITEMEDITOR of
a Datagrid... We i mouse over and show the tooltip, the item editor is
close!!

 



RE: [flexcoders] Re: Tooltip in itemeditor of datagrid BUG or... WIsh...

2007-05-31 Thread Robert Chyko
I believe the displaying of the tooltip causes the itemEditor to lose
focus which fires an itemEditEnd event.. thus destroying your
itemEditor.  I had tried something similar in the past and could not get
it working so had to take a different approach.
 
If you find a solution, please repost to the list.
 
thanks
 

-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui
Sent: Thursday, May 31, 2007 1:39 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Tooltip in itemeditor of datagrid
BUG or... WIsh...





Do you have a custom tooltip?  Otherwise it shouldn't close.
How are you setting the tooltip?




  _  


From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of nxzone
Sent: Thursday, May 31, 2007 8:26 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Tooltip in itemeditor of datagrid BUG
or... WIsh...



Nobody have a hint?

I can repeat my question as this:

How can I show the Error ToolTip after a validation in a
ITEMEDITOR of
a Datagrid... We i mouse over and show the tooltip, the item
editor is
close!!





 



RE: [flexcoders] Re: Tooltip in itemeditor of datagrid BUG or... WIsh...

2007-05-31 Thread Alex Harui
If you can post an  mini-example it will help us see what you're doing
and what kind of solution to propose.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Robert Chyko
Sent: Thursday, May 31, 2007 11:55 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Tooltip in itemeditor of datagrid BUG
or... WIsh...

 

I believe the displaying of the tooltip causes the itemEditor to lose
focus which fires an itemEditEnd event.. thus destroying your
itemEditor.  I had tried something similar in the past and could not get
it working so had to take a different approach.

 

If you find a solution, please repost to the list.

 

thanks

 

-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui
Sent: Thursday, May 31, 2007 1:39 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Tooltip in itemeditor of datagrid
BUG or... WIsh...

Do you have a custom tooltip?  Otherwise it shouldn't close.
How are you setting the tooltip?






From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of nxzone
Sent: Thursday, May 31, 2007 8:26 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Tooltip in itemeditor of datagrid BUG
or... WIsh...

Nobody have a hint?

I can repeat my question as this:

How can I show the Error ToolTip after a validation in a
ITEMEDITOR of
a Datagrid... We i mouse over and show the tooltip, the item
editor is
close!!

 



[flexcoders] Re: Tooltip in itemeditor of datagrid BUG or... WIsh...

2007-05-31 Thread nxzone
Is not a custom tooltip... It a custom itemeditor in the datagrid.
This itemeditor is a textinput with a validator.

When the text change the validator validate and show a red border with
a tooltip... Something like this

mx:TextInput  x=50 y=21 width=208  creationComplete=doInit()   
![CDATA[
import mx.controls.dataGridClasses.DataGridListData;
import mx.validators.EmailValidator;
import mx.validators.DateValidator;
import mx.core.UIComponent;
import mx.managers.FocusManager;  
import mx.controls.Alert;
import mx.events.ValidationResultEvent;  
import com.timeline.validators.HistoryDateValidator;
import com.timeline.model.CustomDate

public var validator:HistoryDateValidator= new HistoryDateValidator();
private function doInit():void {  
validator.source= this
validator.property=text;

validator.addEventListener(ValidationResultEvent.VALID,handleResult)

validator.addEventListener(ValidationResultEvent.INVALID,handleResult)
validator.trigger=this;
validator.triggerEvent =change;
validator.validate();
}

/mx:TextInput