> I want to know objDG 

 

Sorry, that doesn't make sense. objDG isn't the name of the DataGrid,
it's the name of a variable that points to a DataGrid instance. You
could lots of variables pointing to the same DataGrid instance.
Instances don't keep track of the names of variables that point to them.


 

Can you clarify what you're really trying to do from a user's point of
view rather than from a programming point of view?

 

Gordon Smith

Adobe Flex SDK Team

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of markgoldin_2000
Sent: Friday, June 06, 2008 11:52 AM
To: [email protected]
Subject: [flexcoders] Re: Object name from a mouse click

 

objDG = new myDG();
I want to know objDG. I have a number of GDs based on the same class. 
Based on objDG I need to run different parts of my code.

--- In [email protected] <mailto:flexcoders%40yahoogroups.com>
, "Gordon Smith" <[EMAIL PROTECTED]> wrote:
>
> What do you mean by "the actual object name"? The 'id' that you
> specified in MXML?
> 
> 
> 
> And what object are you talking about? A component inside your item
> renderer?
> 
> 
> 
> Gordon Smith
> 
> Adobe Flex SDK Team
> 
> 
> 
> ________________________________
> 
> From: [email protected] <mailto:flexcoders%40yahoogroups.com>

[mailto:[email protected] <mailto:flexcoders%40yahoogroups.com>
] On
> Behalf Of markgoldin_2000
> Sent: Friday, June 06, 2008 7:12 AM
> To: [email protected] <mailto:flexcoders%40yahoogroups.com> 
> Subject: [flexcoders] Object name from a mouse click
> 
> 
> 
> I am overriding mouseDoubleClickHandler event for a custom dataGrid.
> How can I get the actual object name (not a class name) when I 
dblclick?
> 
> Thanks
>

 

Reply via email to