You should be able to get the button which triggered the click event from
event.target

-Josh

On Fri, Jun 27, 2008 at 9:55 AM, pbrendanc <[EMAIL PROTECTED]> wrote:

> I have a grid with an array of buttons that when clicked, will display
> a popup window that collects user info.
> What I'd like to do is position the popup relative (immediately below)
> the button that the user clicked within the grid - not necessarily
> centered on the current window.
>
> How can I get access the position/coordinates of the calling button -
> is this data somehow available via the createComplete event of the
> popup. I imagine this data is buried somewhere in the
> event/eventtarget object, but I'm not quite sure how to access it.
>
> (Please don't tell me that I need to assign a listener to every button
> in the grid from within the Popup window as I'm creating the grid
> dynamically and it varies in size).
>
> Can anyone help with this,
>
> TIA,
> Patrick
>
>
>
>
>
>
>
> ------------------------------------
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
> Links
>
>
>
>


-- 
"Therefore, send not to know For whom the bell tolls. It tolls for thee."

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]

Reply via email to