[progress Communities] [progress Openedge Abl] Forum Post: Re: Input-output Temptable For...

  • Thread starter Thread starter Mark Davies
  • Start date Start date
Status
Not open for further replies.
M

Mark Davies

Guest
Hi, You have two options - depending on how you want to approach this. You will need to pass the handle of the window - you are looking for the persistent handle to the window (THIS-PROCEDURE) in your Form class - perhaps pass it in via the constructor as you are doing with your temp-table. This way, you can run an internal procedure available in your window from the class and just pass the temp-table with changes back - using the standard RUN IN ( ). The alternative is to call a method in your Form class from your window (.w) as you will have the object instance to the form class you launched. So. if your form has an OK button that also closes the Form and exists the WAIT-FOR (and I am assuming your WAIT-FOR to launch the FORM is doing so with a ShowDialog() ) then it will close the FORM, but the instance to it is still available and this gives you an opportunity to call methods or retrieve values for its properties still before you destroy it. .... WAIT-FOR oMyForm:ShowDialog(). oMyForm:SomeMethodInTheForm( ). .... Hope that helps

Continue reading...
 
Status
Not open for further replies.
Back
Top