> On Fri, Aug 24, 2012 at 8:15 PM, Art Heimsoth > <artst...@artheimsoth.com> wrote: > >> I am trying to move several of my ooDialog programs to the 4.2.0 >> release, but am having trouble. I have found a couple of places >> that are different, but the main trouble I am having now is that >> the windows dialog disappears and I have been unable to find out >> why. >> > > Run your programs from a command prompt window and you will > probably see the problem.
I have been running it from a command prompt. Another point that may not have been stated, it runs fine if I switch back to 4.1.0. >> I have a dialog that takes input and >> the Ok button is selected. It should then hide some of the Edit >> controls and show others and then allow more selections. >> Somewhere in this process, the underlying dialog just disappears. >> > > Most likely a condition is being raised, and you will see the > condition text if you run the program from the command prompt. If Like I stated above, I am running it with Rexx from a command prompt. I will work more in trying to identify just where in the sequence the dialog disappears. As far as I know, there are no hides in the code to cause the entire dialog to disappear. >> I have found that a Create or CreateCenter dialog statement gives >> an error when the parameters after the style are supplied, giving >> an error on parameter 8 being incorrect. >> > > I have seen quite a few programs where people have not counted the > commas correctly for these 2 methods, and I'll bet you lunch, > that's your problem here. -) You are correct! If we ever meet up somewhere, I owe you a steak! > >> I also have found that a setData statement is not accepted within >> the InitDialog method. >> > > It should be accepted. > >> Removing this statement >> and removing the parameters 7 and 8 from the CreateCenter >> statement allows the program to run through the acceptance of the >> initial operator input. >> > > If you posted your code here, I could probably tell you what is > wrong. > If I can't find something over the weekend, I may take you up on this. I would need to build you a simpler case, as this module is over 900 lines and requires external files to work. Thanks for the offer. -- Art Heimsoth ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Oorexx-users mailing list Oorexx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-users