# Need Help:  Reverse Video  with white text

**URL:** <https://techcommunity.softwareag.com/t/need-help-reverse-video-with-white-text/100989>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-on-Mainframes\
**Created:** [July 17, 2012, 10:30pm UTC](https://techcommunity.softwareag.com/t/need-help-reverse-video-with-white-text/100989 "2012-07-17T22:30:18Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Davalin\_Gunter](https://avatars.discourse-cdn.com/v4/letter/d/4bbf92/32.png) [@Davalin\_Gunter](https://techcommunity.softwareag.com/u/Davalin_Gunter)\
**Post date:** [July 17, 2012, 10:30pm UTC](https://techcommunity.softwareag.com/t/need-help-reverse-video-with-white-text/100989/1 "2012-07-17T22:30:18Z")

</div>

Is there anyway to define a field with reverse video red with white text?  
(AD=VP CD=RE)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [July 17, 2012, 11:03pm UTC](https://techcommunity.softwareag.com/t/need-help-reverse-video-with-white-text/100989/2 "2012-07-17T23:03:25Z")

</div>

No, that’s not possible, simply because it would require the definition of distinct  
colors for foreground / background.

Which isn’t a Natural issue, the 3270 protocol doesn’t allow for it.

---

<div class="post-metadata">

**Author:** ![Steve\_Robinson](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/steve_robinson/32/107_2.png) [@Steve\_Robinson](https://techcommunity.softwareag.com/u/Steve_Robinson)\
**Post date:** [July 18, 2012, 1:11pm UTC](https://techcommunity.softwareag.com/t/need-help-reverse-video-with-white-text/100989/3 "2012-07-18T13:11:19Z")

</div>

Hi Wolfgang and Davalin,

Wolfgang, your comment about separate facilities for text and background is correct. However, unless I misinterpreted the the question, Davalin wants white text, which is the default when using AD=V with any color, including default, which is black.

Thus, Davalin, the following code (basically your statement) works just fine.

define data local  
1 #a (a10) init \<‘qwert’\>  
end-define  
write #a (ad=v)  
end

You can add color, for example , (ad=v cd=re) and it will also work.

steve

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [July 18, 2012, 1:53pm UTC](https://techcommunity.softwareag.com/t/need-help-reverse-video-with-white-text/100989/4 "2012-07-18T13:53:03Z")

</div>

Steve,

ok, let’s agree on “it depends” 😉

On a mainframe terminal emulator it … depends … on what background color you’ve set in your emulator.

For example, when I use a color scheme with a black background in Entire Connection a reverse video  
will render the text in black, when I use a color scheme with a white background the text on a reverse  
video field will render … white.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [July 18, 2012, 1:56pm UTC](https://techcommunity.softwareag.com/t/need-help-reverse-video-with-white-text/100989/5 "2012-07-18T13:56:50Z")

</div>

Steve,

I suppose you are coming from the LUW side of things, where a white background is the default (or  
probably the only one you can get in cases), now how do you make that display in a specific color  
on a field-by-field basis ?

Won’t work.

---

<div class="post-metadata">

**Author:** ![Steve\_Robinson](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/steve_robinson/32/107_2.png) [@Steve\_Robinson](https://techcommunity.softwareag.com/u/Steve_Robinson)\
**Post date:** [July 18, 2012, 2:03pm UTC](https://techcommunity.softwareag.com/t/need-help-reverse-video-with-white-text/100989/6 "2012-07-18T14:03:19Z")

</div>

“It depends” is clearly appropriate.

White on white. Crystal clear. 🙂

Davalin, what “environment” (mainframe, PC etc; terminal emulator, etc) are you working in?

steve

---

<div class="post-metadata">

**Author:** ![Davalin\_Gunter](https://avatars.discourse-cdn.com/v4/letter/d/4bbf92/32.png) [@Davalin\_Gunter](https://techcommunity.softwareag.com/u/Davalin_Gunter)\
**Post date:** [July 18, 2012, 5:37pm UTC](https://techcommunity.softwareag.com/t/need-help-reverse-video-with-white-text/100989/7 "2012-07-18T17:37:24Z")

</div>

Steve,

Working on a 3270 mainframe.

Thanks for your help.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [July 18, 2012, 6:11pm UTC](https://techcommunity.softwareag.com/t/need-help-reverse-video-with-white-text/100989/8 "2012-07-18T18:11:42Z")

</div>

As I said, and explained why, it isn’t possible to set both FG and BG colors individually for a field.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:02pm UTC](https://techcommunity.softwareag.com/t/need-help-reverse-video-with-white-text/100989/9 "2021-04-02T15:02:10Z")

</div>


