Thx a bunch - this looks like what I need - however for some reason
I'm seeing -ve numbers for my x + y coordinates and my popup is
partway off my form/window - any further suggestions.
Since my grid is dynamically created are there any other
issues/gotcha's I need to consider here?
TIA
--- In
No that is not part of the question -
I have all the components working and the popup opens and closes
correctly - what I'm trying to do is (re)position the popup relative
to the location of the grid button that caused it to open - this
should be simple but I can't find an example how to do
maybe its related to what you are specifying as the parent of the PopUp? Make
sure it is the same parent that the button is contained within.
Dimitrios Gianninas
RIA Developer and Team Lead
Optimal Payments Inc.
From: flexcoders@yahoogroups.com
This should give you an idea:
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute
creationComplete=onCreationComplete(event)
mx:Script
![CDATA[
import mx.controls.Button;
import
You may need to use the local / global conversion functions, like
localtoGlobal()
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of
pbrendanc
Sent: Friday, June 27, 2008 5:57 AM
To: flexcoders@yahoogroups.com
Subject:
Sorry, while I don't mean to be obtuse - however I need some
clarification on how/where to get a reference to that event object -
that's really what I having a problem with.
In my scenario please note:
1) The controls are dynamic, so how to addEventListener to run time
controls is unclear to me.
How far have you actually gotten?
Do you have your buttons invoking the pop-up yet? Or is that part of
your question?
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of pbrendanc
Sent: Thursday, June 26, 2008 9:00 PM
To:
If you're creating a popup on a button click, you must already have an event
listener. Can you post the code that creates your popup?
-Josh
On Fri, Jun 27, 2008 at 11:00 AM, pbrendanc [EMAIL PROTECTED] wrote:
Sorry, while I don't mean to be obtuse - however I need some
clarification on
8 matches
Mail list logo