× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



"RPG400-L" <rpg400-l-bounces@xxxxxxxxxxxx> wrote on 10/24/2017 04:29:59
PM:
----- Message from Booth Martin <booth@xxxxxxxxxxxx> on Tue, 24 Oct
2017 14:39:13 -0500 -----

To:

RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>

Subject:

DSPF WDWTITLE text not changing when field value changes

The window can show either GroupA or GroupB and can be toggled from one
to the other by the user. All works well excepting the WDWTITLE always
displays its initial value. Keywords I have tried include RMVWDW and
OVERLAY. I tried EXFMT and WRITE/READ. In debug the value of the
field, W1TITLE, reflects GroupA or GroupB correctly.

Interestingly, although I do not understand the significance, is that
with the RMVWDW keyword, the border entirely disappeared. The interior
of the window displayed, but not the border or title.

I can put the title in the body of the window but it looks way better
embedded in the border.



RMVWDW is an often misunderstood keyword. It does NOT remove the window
where it is specified, it removes any other windows from memory for the
display file. I've found that specifying RSTDSP(*YES) on the display file
can help get expected results.

YMMV
Michael Quigley
Computer Services
The Way International

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.