|
Am 27.11.2024 um 17:03 schrieb Patrik Schindler <poc@xxxxxxxxxx>:
Hello Charles,
Am 27.11.2024 um 16:11 schrieb Charles Wilt <charles.wilt@xxxxxxxxx>:
Assuming you've done things correctly...
How much space have you left between fields? You need at least 2 ( maybe 3? it's been a while) spaces between fields.
Wrong. The attribute byte is just a the start (and end) of a given "region" on screen and needs exactly one position each. It doesn't matter if we're talking subfiles or plain screens. There is no designated end but in fact the start of another "region" with different attributes.
This is the main reason many DSPF elements go into in position 2 of a screen line, and not 1: You have a nice adjustment, and space before the element for attributes.
The screen buffer is circular. You can place your screen elements in position 1. The attribute position then wraps back into into the last position of the line before. It boils down on whether this position is prone to being overwritten to exploit this possibility successfully.
This is from my experience, in part being reinforced by statements in the DDS Reference, and Application Display Programming books.
:wq! PoC
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
As an Amazon Associate we earn from qualifying purchases.
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.