RE: Add Beads

2020-06-15 Thread Maria Jose Esteve
Okay, well I'll do it then. Hiedra. De: Harbs Enviado el: lunes, 15 de junio de 2020 17:42 Para: users@royale.apache.org Asunto: Re: Add Beads Cool. There might be beads which assume beadsAdded is only dispatched once, so Yishay’s solution is probably better. On Jun 15, 2020, at 6:

Re: Add Beads

2020-06-15 Thread Harbs
d(textPromptBead); > }else{ > trace("BEAD BEAD PROMPT EXIST > "); > } > > sendEvent(this,"beadsAdded"); > } > > > Thanks to both of you. > Hiedra. > > De: Harbs > Enviado el: lunes, 15 de ju

RE: Add Beads

2020-06-15 Thread Maria Jose Esteve
sendEvent(this,"beadsAdded"); } Thanks to both of you. Hiedra. De: Harbs Enviado el: lunes, 15 de junio de 2020 15:07 Para: users@royale.apache.org Asunto: Re: Add Beads Since the beadsAdded event is fired after super.addedToParent, you’ll need to add your bead before super or d

Re: Add Beads

2020-06-15 Thread Harbs
2020 14:42 > Para: users@royale.apache.org > Asunto: RE: Add Beads > > Hi Yishay, look... > > > > > The Combobox, framed in green, has the bead added in the tag directly: > > > localId="comboCentroCos

RE: Add Beads

2020-06-15 Thread Yishay Weiss
lto:users@royale.apache.org> Subject: RE: Add Beads Hi Harbs, thanks for replying. The specific case is an extension of the ComboBox control to which I want to add the default prompt. Currently I have added it in addToParent but it doesn't work for me, although with debug, I see that it does add it

RE: Add Beads

2020-06-15 Thread Maria Jose Esteve
you. Hiedra De: Harbs Enviado el: lunes, 15 de junio de 2020 13:52 Para: users@royale.apache.org Asunto: Re: Add Beads Good question. :-) It depends on the type of bead. Any beads that are added using MXML will be added in the addeToParent method. The reason for this is because many beads need the

Re: Add Beads

2020-06-15 Thread Harbs
Good question. :-) It depends on the type of bead. Any beads that are added using MXML will be added in the addeToParent method. The reason for this is because many beads need the component to be added to the DOM. If it’s a bead which does not need the DOM structure to be set up, you can simp