use of colors on screen
Jean-Pierre A. Radley
appl at jpr.com
Mon Mar 10 13:41:56 PDT 2014
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
More information about the Filepro-list
mailing list