Page 1 of 1

[VLF WIN] How to show the status message into the status bar on the framework?

Posted: Wed Apr 04, 2018 7:28 pm
by Taku Izumi
Hi,

How to show the status message into the status bar on the VLF Windows?

I execute the "MESSAGE MSGTXT('Processing'') TYPE(*STATUS)" code in the framework, but the status message is not shown the status bar.

Regards,
Taku Izumi

Re: [VLF WIN] How to show the status message into the status bar on the framework?

Posted: Thu Apr 05, 2018 9:21 am
by MarkD
This is for VL-Windows ................
I think status messages are only for 5250 screens.
If you use just MESSAGE MSGTXT('Processing'') then it should appear on the status bar.
If not, try using USE CLR_MESSAGES to get rid of whats already there - and also to clear your processing message when complete.
If your MESSAGE command is in (nested) methods consider the implications of using Options(*RECEIVES_MESSAGES *RETURNS_MESSAGES) on the method stack. You MESSAGE may need to flow up the stack to the UI layer.

Re: [VLF WIN] How to show the status message into the status bar on the framework?

Posted: Thu Apr 05, 2018 6:25 pm
by Taku Izumi
Hi Mark,

I was able to show the status message.

If the framework is executed using RenderType W, the status message is shown into the status bar.

Thanks,
Taku Izumi

Re: [VLF WIN] How to show the status message into the status bar on the framework?

Posted: Fri Apr 06, 2018 9:38 am
by MarkD
It should also work with RenderType M (Mixed).
If it does not then it should be reported to LANSA support.