Yes, subclasses can access protected members.  Subclassing is basic
ObjectOriented programming so you'll have to figure out how to learn how
to do that.  It is out of my scope to help you with that.  There are
some custom component examples in our doc.

 

 

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Matt Maher
Sent: Thursday, June 07, 2007 2:59 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: coordiates of items in a datagrid

 

Alex, thanks so much! Can you tell me a bit more? I have looked 
through the debugger and seen the listItems but I cannot seem to 
figure out how to get reference to that list during runtime...

Is this what "subclassing" will do for me? How can I do that?

Thanks again for at least letting me know it's even POSSIBLE though.

--- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> You'll have to subclass and then snoop through the listItems array
> 
> 
> 
> ________________________________
> 
> From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>

[mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
] On
> Behalf Of Matt Maher
> Sent: Wednesday, June 06, 2007 4:20 PM
> To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> 
> Subject: [flexcoders] coordiates of items in a datagrid
> 
> 
> 
> I have a datagrid and want the user to be able to draw a "selection 
> box" over the elements in it... 
> 
> When the user lets go of the mouse button I want to look through 
the 
> items of the grid to ask each if they fall within the coordinates 
of 
> the box.
> 
> This sounds so simple and I've gotten to the last step in the 
process, 
> but I cannot seem to find any way to determine the coordinates of 
the 
> elements in the datagrid which are currently displayed. There just 
must 
> be something...
> 
> Any help at all on this matter would be so greatly appreciated. I 
am 
> pulling my (already gone) hair out over this one.
> 
> Thanks
>

 

Reply via email to