From: Art H. <art...@ar...> - 2012-12-28 15:29:54
|
> On Thu, Dec 27, 2012 at 8:01 PM, Art Heimsoth > <art...@ar...> wrote: > >>> On Thu, Dec 27, 2012 at 3:50 PM, Art Heimsoth >>> <art...@ar...> wrote: >>> >> Okay, this also appears to be working except for when I attempt >> to execute a method from the OK method in the child. I am using >> SQL in the child InitCode method okay, and a log method in the >> setup of the data, where the log method is in the mother and the >> execution of it is in the child method (someMethod) in your >> example. Those both work okay. When I attempt to execute the >> same log method from the OK in the child, the dialog seems to not >> respond anymore until I "X" out of the child dialog. >> > > Which dialog doesn't seem to respond? The parent or the child? The parent is blocked and beeps when attempting to click on anything within it. The child accepts the Ok click, but nothing happens until I cancel it with the windows "X" - then all the pending actions for the Ok method continue. > >> Using Say statements >> I have verified the log method is NOT entered, but everything up >> to the execution of the self~parent~log("message") is working. Is >> there something special about the OK method in this case? >> > > There shouldn't be anything special about the Ok method, that I can > think of. You might have a guarded method problem, but I can't say > what. I.e. some method is guarded and can not run. > > How do you start the child dialog? I.e., do you use execute() or > popupAsChild() or ... ? What does the method in your parent that > starts the child look like? Is it guarded? The things I think of > that might stop it from executing would seem to prevent it from > executing in your other call to the method. Since that apparently > works, I can't say. The child is started with the execute().. parent method that starts it is simply "::method Doname" with one passed argument. It does a check and then creates the dialog with "dlg = .SelectDialog~new(..." loads the data class attributes and then does the execute(). It probably is something I have somewhere else, but I have moved the method executions out of the Ok method and the child dialog is working okay for me now. Thanks for thinking about it, if I find something more, I will let you know. Or if there is a way for me to find out what is blocking things, let me know and I can try that. > > -- > Mark Miesfeld > > -------------------------------------------------------------------- > ---------- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web > API and much more. Get web development skills now with LearnDevNow - > 350+ hours of step-by-step video tutorials by Microsoft MVPs and > experts. SALE $99.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122812 > _______________________________________________ Oorexx-users > mailing list Oor...@li... > https://lists.sourceforge.net/lists/listinfo/oorexx-users -- Art Heimsoth - art...@ar... |