1-How do i set the standard background color in INFLD (not just the option to force an active bacground color in edit mode).... i want the background to always be a color.
2-Is it possible to remove the black border so its just the input area on the background?
TIA
PS: You can reference the pic in my previous thread for desired effect
In theory it would be set via the INFCLR structure parameter, but there are numerous GUI / Windows complications. It would be much cleaner to use the option to force the background color during editing, and then supplement that with another strategy for display. Particularly if you want to display with non-standard attributes (sizes, colors, borders) etc., you could do all of that more easily just using AUI_CONTROL directly.
I can appreciate that one objective may be to unify the display and editing by using INFLD for both. But you can easily get around that by creating a unified front-end function or SBX that converts the display mode to an AUI_CONTROL call. That would allow you to at least move forward while we consider the INFLD background display issues separately. (That may require some modification to A-Shell, which of course is what always happens when we are trying to finalize a "stable" version!)
When you way "black field border", are you talking about the border around the two INFLD fields in this sample? (I'm assuming that your sample above is what you're looking for, not what you've got.)
They're not exactly "black". But they are, for the most part, controlled by the Windows version and theme.
So the short answer is I'm not entirely sure what the issue is or whether we can control it, but it would help to clarify the exact environment and maybe even a sample XCALL.
Here's a possible Easter Egg: add type code ||/ to the remove the "client edge" attribute. At least in Windows 11, the "client edge" is so small that the effect is pretty subtle:
(I added the codes to just the "Field Data" field.) The most noticeable aspect of it is that we lose the internal left / top margins (which were an invisible part of the "client edge").