|
Hello Frank
Understood,
This is my 20-years-ago wishful thinking.
If I had the time and energy I could have written some utility to ingest a DDS source and add program-to-screen hidden fields
and use these fields with DSPATR - the way you demonstrated.
I could also automatically generate a /COPY source with Hex values field for each of the A/M hidden field
and then at last write the Field1.COLOR = 'RED'
But this is now just an idle intellectual exercise.
Thanks for your help
Gad
On Mon, Aug 22, 2022 at 7:56 AM Frank Kolmann <Frank.Kolmann@xxxxxxxxx <mailto:Frank.Kolmann@xxxxxxxxx>> wrote:
Hi Gad
The short answer is No.
The long answer, and I stand to be corrected is:- (been a while)
The best you are going to get is Program-to-screen fields
FIELD1_ATR = x'28' ; // Set colour to red
A FIELD1 10A B 4 10DSPATR(&FIELD1_ATR)
A FIELD1_ATR 1A P
I never noticed lower case field names are not allowed, how
archaic is
that eh?
Your qualified field names ie Field1.color , introduce new RPG
reserved
words, ie .color .BL .PC that wont happen IMO.
(5250 data streams are all pre OOP)
The 5250 data stream was designed for monochrome displays, it
still has
no Colour commands. afaik
Colours are the result of how colour hardware interprets the
monochrome
controls, IMO this wont change.
5250 Cursor control is not part of the attribute character, It is
contained in the FFW Field Format word, FFW is not directly
controllable
from DDS.
Frank
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.