Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4356

How to get a dialog object's object-reference?

$
0
0

Hi,

How can I get the MF Dialog push-button object-reference so that i can disable the button from a Visual COBOL program?

e.g. in the program:

INVOKE my-button-objref "disable" 

Dialog lets me define objref fields in the datablock but only has functions, MOVE-OBJECT-ID and MOVE-OBJECT-HANDLE which are different things?

The invoke disable itself works - i tested it by changing the code in a listview prog where it sets focus to the next object in a callback after tab key is pressed. I changed 'setFocus' to 'disable' and it worked fine.

Thanks,

Linden 


Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>