4 Replies Latest reply on Aug 16, 2010 7:07 AM by jfb00

    Access a TextInput inside a newly initiated TileWindow

    gretags

      Hi Guys,

       

      file://///10.240.8.205/c$/SHARED%20MOVIE%20FRANZ/Tekken.2010.DVDRip.XviD.AC3-ViSiON.aviI'm trying to create add and edit events on my grid... So far I don't have any problem except implementing the initial entry on my edit TextInput....

      Normally if we click add we'll just show the form.

       

                  addWindow = TitleWindow(PopUpManager.createPopUp(apps, addForm, true));
                  PopUpManager.centerPopUp(addWindow);

       

      If we do an edit our expectation is the form should already be filled with those previous data. But the thing is I don't how to access those... For example I have a TextInput with an id of txtTest, how should I be able to insert some values on that...

       

                  addWindow = TitleWindow(PopUpManager.createPopUp(apps, addForm, true));

                  addWindow.txtTest.text = "TESTING"; //of course this wouldn't work but the idea is to simply access txtTest so that I could initiate some values
                  PopUpManager.centerPopUp(addWindow);

       

       

      Thanks