|
I'm confused about your statement re: "...it still has no colour commands" since you reference the "red" attribute byte (x'28').
All the attribute bytes,*including color*, should be listed here.
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ibm.com%2Fdocs%2Fen%2Fi%2F7.4%3Ftopic%3Dssw_ibm_i_74%2Fapis%2Fdsm1f.htm&data=05%7C01%7C%7Cf6ef820d5dc04c7eb39508da85487d43%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637968843633300980%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=R%2BM%2FeVTO3OQnidJfI1Zh1w3g7ppZ3iNpaukLdQiwITI%3D&reserved=0
Roger Harman
COMMON Certified Application Developer - ILE RPG on IBM i on Power
-----Original Message-----
From: RPG400-L<rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Frank Kolmann
Sent: Monday, August 22, 2022 9:08 PM
To:rpg400-l@xxxxxxxxxxxxxxxxxx
Subject: Re: (RtnDspAtr-like) functionality,for EVERY input/output field
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.