Am 10.12.2012 19:32, schrieb oorexx-users-requ...@lists.sourceforge.net: > For some reason your e-mails do not appear in my gmail account until > long after you posted them.
The reason is me, I have no Internet at home, so I respond offline and send all at once when I in a WiFi when changing trains or when going downtown. And lately there was something more important than ooDialog to do, for me at last. > I just got this, > > On Tue, Dec 4, 2012 at 11:15 PM,<amphitr...@ok.de> wrote: >> > >> >To your append from last month: That was my hint about the obvious delay. >> >[...] > Well, yes there are some alternative ways to pop up a dialog window. > But that doesn't change anything for you. The popped up dialog window > is still a new object isolated from the parent dialog. I am dreaming of 'global variables' that are easily accessible from any corner of my application, like "the ::OPTIONS directive defines [...] settings for all Rexx code contained within a package". Not just for one child dialog subclass only. > It is hard to give advice without seeing more of your code. <LOL> My code could be even worse than my English. > But, if > you have a lot of variables, a lot of data, that you want to transfer > between dialogs and allow the dialogs to change the values, you could > define your own class to contain the data and then pass an object of > that class back and forth. Sounds promising. > ::class 'MikesData' > ::attribute ipAddressHost > ::attribute ipAddressClient > ::attribute userName > ::attribute userPassword > ::attribute lastMessage > ::attribute someOtherData > > ::method init > self~ipAddressHost = '' > self~ipAddressClient = '' > ... > > > In your parent dialog: > > data = .MikesData~new > ... > subDlg1 = .Dialog~new > subDlg1~sendMyData(data) > sudDlg~execute Looks good. I will try it. Thank you. > The just pass the object around. Read any data values you need from > the object rather than local variables. If one of the sub dialogs > needs to change a variable value change it in the object being passed > around. If any other dialog needs to know the value, read it from the > object. I will inform you, later, may be next year. ;) Best. M. -------------------------------------------- Kostenlose E-Mail-Adresse mit unbegrenztem Speicherplatz für E-Mails, Free SMS und OK-Drive, der Online-Festplatte. Sicher Dir jetzt Deine Wunschadresse @ OK.de: www.ok.de ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Oorexx-users mailing list Oorexx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-users