× 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.




On 17/05/2008, at 3:16 AM, James Lampert wrote:


I haven't seen _that_ phenomenon exactly, but I _have_ noticed cases in
which a single program, with a single display file, running on a
_physical_ InfoWindow II, will use dots for some window borders, and
InfoWindow II line draw semigraphics for other window borders. I
wouldn't mind knowing the reason for that, myself.

The ONLY instances I have seen where a terminal (e.g., PC5250 or InfoWindow II) will not replace the default border with a "graphical" border are:
1) The DDS specifies different border characters (e.g., reverse- image spaces)
2) Each line of the window occupies more than one line of the screen space.

Option 1 is understandable. The developer specifically set the border so that should be respected.

Option 2 is a little trickier. In order to ensure the window will be drawn graphically the developer must ensure that the beginning attribute (i.e., left border) and the ending attribute (i.e., right border) must be on the same line. That is, the border itself cannot start in column 1 nor end in the last column of this screen (80 or 132). The attribute bytes can be in these columns but the border itself cannot.

Mostly this is not an issue because windows are meant to occupy only part of a screen--notwithstanding the large number of poorly designed screens I see where so-called windows occupy all the screen. If a window occupies the entire wall it's no longer a window--it's a glass wall. Same applies to interfaces.

Before we had proper WINDOW support we used to fake windows using various DDS keywords. The only way to get a sub-file into one of those fake windows was to ensure the window occupied the full width of the screen--but I digress.

In addition to ensuring the window width fits entirely within the screen width the 5250 data-stream must also indicate that graphical substitution is allowed. This is done in the Border Presentation Minor Structure (Bit 0 of Byte 3). DDS takes care of this for most of us.

Regards,
Simon Coulter.
--------------------------------------------------------------------
FlyByNight Software OS/400, i5/OS Technical Specialists

http://www.flybynight.com.au/
Phone: +61 2 6657 8251 Mobile: +61 0411 091 400 /"\
Fax: +61 2 6657 8251 \ /
X
ASCII Ribbon campaign against HTML E-Mail / \
--------------------------------------------------------------------




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.