use of colors on screen
Kroboth, Joe
joe_kroboth at chernay.com
Wed Mar 19 13:12:08 PDT 2014
This is great! Thanks.
Joe
-----Original Message-----
From: filepro-list-bounces+joe_kroboth=chernay.com at lists.celestial.com [mailto:filepro-list-bounces+joe_kroboth=chernay.com at lists.celestial.com] On Behalf Of Jean-Pierre A. Radley
Sent: Monday, March 10, 2014 4:42 PM
To: FilePro Mailing List
Subject: Re: use of colors on screen
Jean-Pierre A. Radley propounded (on Mon, Mar 10, 2014 at 04:06:05PM -0400):
| tob at b-e-s-t.com propounded (on Mon, Mar 10, 2014 at 08:26:40AM -0400):
| | I have a user that requested that I highlight an input field to light yellow. How would I do this? I use the inverse toggle to highlight but this has no choice to switch colors. I reviewed the color info on fptech help but can't see how to toggle to a different color. I run fp 5.0.13 on Centos 5. They use kermit95 to hit the box.
|
|
| Well, that's probably not possible, but perhaps this snippet of code
| (from Bob Stockler) might be useful to you. I've got it set to
| operate on every input field, but obviously you could just use it for
| particular fields:
|
| @wef*::gosub hilite;end:
| @wlf*::gosub lolite;end:
| hilite::show(@ro, at co) "\r"&fieldval(-, at fd)&"\r";return:
| lolite::show(@ro, at co) fieldval(-, at fd);return:
|
|
Whoa: that hilite/lolite code, comb ined with Doug Luur's posting on this thread, might be more like what you want, e.g:
hilite::show(@ro, at co) "\BE"&fieldval(-, at fd)&"\B1";return:
This works with cansi as the TERM (or PFTERM) setting, but does interact with any color choices you've made in filePro's config file.
--
JP
_______________________________________________
Filepro-list mailing list
Filepro-list at lists.celestial.com
Subscribe/Unsubscribe/Subscription Changes http://mailman.celestial.com/mailman/listinfo/filepro-list
More information about the Filepro-list
mailing list