Re: Events with itemRenders

2015-06-28 Thread pkumar.flex
ded recipient, please notify the > sender immediately by replying to this email, and destroy all copies of > this email and any attachments. Thank you. > > > -- > If you reply to this email, your message will be added to the discus

Re: Events with itemRenders

2015-06-28 Thread Scott Matheson
I know, that's what my son tells me all the time, 30 years programming and still making basic errors Anyway thanks and I will update the code with statics, I have the class in place, I was just to lazy to use them Sent from my iPad > On 28 Jun 2015, at 21:16, Peter Ginneberge wrote: >

Re: Events with itemRenders

2015-06-28 Thread Peter Ginneberge
On 28/06/2015 20:24, Scott Matheson wrote: Thomas i tried popup.addEventListener("OKTODELETE", deleteThisRecords) all seems to be working, must have been a type-o That's why you use static constants rather than string literals. popup.addEventListener(CustomEvent.EVEN

RE: Events with itemRenders

2015-06-28 Thread Frédéric THOMAS
édéric THOMAS > Subject: Re: Events with itemRenders > From: smathe...@intralinks.com > To: users@flex.apache.org > Date: Sun, 28 Jun 2015 18:13:03 + > > yes with out any luck, also tried this. > > &g

Re: Events with itemRenders

2015-06-28 Thread Scott Matheson
t;, deleteThisRecords) Did you try popup.addEventListener("OKTODELETE", deleteThisRecords); instead ? Frédéric THOMAS ------------ > Subject: Events with itemRenders > From: smathe...@intralinks.com > To: users@flex.apache.org > Date: Sun, 28 Jun 2015 17:41:

Re: Events with itemRenders

2015-06-28 Thread Scott Matheson
yes with out any luck, also tried this. From: Frédéric THOMAS Sent: Sunday, June 28, 2015 6:52 PM To: users@flex.apache.org Subject: RE: Events with itemRenders > var popup:Object ; > popup = PopUpManager.createPopUp( FlexGlobals.topLevelApplicat

RE: Events with itemRenders

2015-06-28 Thread Frédéric THOMAS
ry popup.addEventListener("OKTODELETE", deleteThisRecords); instead ? Frédéric THOMAS -------- > Subject: Events with itemRenders > From: smathe...@intralinks.com > To: users@flex.apache.org > Date: Sun, 28 Jun 2015 17:41:02 + > >

Events with itemRenders

2015-06-28 Thread Scott Matheson
Hi I have a grid with an itemRender, I want to centre the popup in the overall frame, so i am using " FlexGlobals.topLevelApplication as DisplayObject" this is snip on my code in the GridItemRender, my problem is the addEventListener is not picking up the event from "DeleteStudentConfir