How to refresh MF dialog obj from a program?

Hi there,

Is there an MF dialog GUI method to refresh an object only i.e. not set focus on it?

For example to enable an object i just do this. Is there a refresh equivalent method?

CALL 'GUI-enable' using my-dialog-object-handle. 

GUI.cbl ---------------------------------------------------------------------------------

$set mfoo
class-control.
AbstractWindow is class "awindow".

working-storage section.
01 obj object reference value null.

linkage section.
01 hand pic x(4) comp-5.

procedure division.

entry 'GUI-enable' using hand.
    *> enable object from handle...
     invoke abstractWindow "fromHandle" using hand returning obj.
     invoke obj "enable".
     invoke obj "destroyproxy" returning obj.
     goback.

Many thanks,

Linden

 

Parents
  • Thanks BERND for your help. I'm using the MF std "dslang.cpy" and it's working great . Very happy I can stop using actual dialog and control things from the programs.
    NEIL, getting the dialog control into the programs feels like a useful stepping stone away from dialog. I hope to do as you suggest at some point and move to WIN FORMS I guess you mean?
    Linden
Reply
  • Thanks BERND for your help. I'm using the MF std "dslang.cpy" and it's working great . Very happy I can stop using actual dialog and control things from the programs.
    NEIL, getting the dialog control into the programs feels like a useful stepping stone away from dialog. I hope to do as you suggest at some point and move to WIN FORMS I guess you mean?
    Linden
Children
No Data