color on Browse lookup lines.

dennis malen dmalen at malen.com
Mon Feb 27 10:58:39 PST 2023


How do I get access to Nancy's videos? Nancy is so knowledgeable.

She was my first support contact at filePro.

Dennis Malen


-----Original Message-----
From: Filepro-list <filepro-list-bounces+dmalen=malen.com at lists.celestial.com> On Behalf Of john--- via Filepro-list
Sent: Sunday, February 26, 2023 11:16 AM
To: 'Kevin Mummau' <kevinmummau at gmail.com>
Cc: 'Filepro List' <filepro-list at lists.celestial.com>
Subject: RE: color on Browse lookup lines.

I was at Nancy's presentation, and it was wonderful as usual.  Unfortunately, my mind wandered during the color on browse stuff.  Being totally blind and having only one legacy client after long retirement, I doubt I will be ever requiring color adjustments like this.

I should at least watch the video if it describes the procedure you are saying she showed, but without seeing it, my first inclination is to say that what you want to do with the highlight bar, perhaps, is impossible without much more programming other than simply employing WAKEKEY.

Quite a long time ago, I put up a package actually called "dynamic browse" under the hood, and "Pig-in-a-poke" on the hyped-up media level.  ��  It allowed just what you want to do, which is get inside and outside the browse mechanism to alter the actual screen appearance of the background screen *and* the browse construction itself.  However, it take s LOT of extremely specific programming governing all the possible keys that *might* be pressed as you are in that WAKEKEY limbo.... and if not done properly just for that short duration, can seriously hang your program, ordo exactly what you arediscussing - nothing happening correctly.

There is a distributable media of some kind that I have an iso image of somewhere... and I will make a concerted effort to find it and put is up as a link here, but this is a days to weeks - even months project for me... explanation as to why is unimportant... other than to say, don't  count on it coming from me.  Someone else who acquired it during the hot rush for PIAP might do that for you. It has the code, some model screens and video demonstrations of "how" to accomplish what you want to do.

The individual parts of the dynamic browse are also available from FP Tech as an Advanced Video Tutorial on filePro, that they sell for some price... sorry, I don't know that either.  But that might be the very fastest way to get your problem solved. Just contact them, and buy the DVD. (Then figure out how to find a machine with a working DVD player, etc., etc.  -) ) Who knows, maybe they've converted that tutorial to a full file-based, non-removable-media dependant format.  I had many friend who did that to get access to the video-based Search-and-Play video index for filePro.  I would hope so, but they have much more important things to do like the latest 6.1 release, which looks fantastic.

Anyway, all this to say, you can not make a brwose "dynamic" with just a WAKEKY construct, but a very specific loop to put up or down the browse donstruct itself.  Hope you get it done.  I wrote the hugely complicated prc.table for something completely different than  you want to do, but it was written fully generic   so that the company I started with my father, Nexus Plastics could use it for just about anything.  mostly it enabled accounting, and putting up a different PHOTO  with each DOWN or UP press while on a browse. (Actually, it covered landing on any record after pressing any of the allowable @brw keys, or allowable SYSTEM-based keystrokes which can be used *inside* a browse.

Sending you any of the tables I wrote for them, would mystify you... they completely baffle me these days, and I wrote them!!  The only table I still understand (and I believe is actually *commented* �� ) , is the unmodified, base PRC that is available on the FP Tech Advanced Tutorial, or the PIAP media (which I'm afraid may have been only a floppy!  I think it may have been put onto  DVD also, but honestly can't remember.

Good luck,

/john

--
John Esak
Tucson, Arizona




  




-----Original Message-----
From: Filepro-list <filepro-list-bounces+john=timescape.com at lists.celestial.com> On Behalf Of Kevin Mummau via Filepro-list
Sent: Saturday, February 25, 2023 7:35 AM
To: filepro-list at lists.celestial.com
Subject: color on Browse lookup lines.

I have watched Nancy's videos from the Filepro 2019 conference and I am trying to put up color on different lines.  My goal is to highlight records that meet certain conditions. by checking two fields in a lookup file as below in a prc lookup snipit.
My thinking is as the Browse finds a record it runs the prc label then finds the next lookup record and does that prc label.  It appears the prc is dropping all and my test records that do not meet the unique key using the Drop All command, so I believe it is going into the prc label.d ne.

I am making the Lookup dynamic with a waitkey command and want to show the lookup with records with different highlighting when viewing a browse.
  browse header line has "*z   *1     *12       *13   etc....."
ie.  if: rec(12) ne rec(13)
  then: z="\FA"; end
   if: rec(12) eq rec(13)
 then: z="\F-"; end

another example of then line
 then:z="\A1"; end
 and then:z="\A-"

I have used the z="\Bn"  and the z="\Ca"

Problem.  I have my POPUPNORMAL=0x27 but when I run this code I get a black browse and I cannot seem to change the color as Nancy did in her presentation. If I move up and down the browse will light up different records but I am not getting the colors correctly.  Not sure what I am missing, I have looked at my environment variables.
According to show commands the background use 0-7 and the foreground use 8-F for color but 0-7 also shows Background/foreground.  It also states:
"\Ann - Sets background and foreground colors. The first "n" is the background color; the second "n" is the foreground color. If only one "n"
is used, it sets the foreground color, and the background color is set to black (0).

If you want to reset the background and foreground colors to the default colors, use a dash for "n" (\A-)."  copied from the web manual


I have tried many different commands and different ways, different color options but still nothing works like I think it should.

I am on a Windows using version 6.0.03.15D6  no gui or windows yet.
Thanks
Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20230225/932a8989/attachment.htm>
_______________________________________________
Filepro-list mailing list
Filepro-list at lists.celestial.com
Subscribe/Unsubscribe/Subscription Changes http://mailman.celestial.com/mailman/listinfo/filepro-list

_______________________________________________
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