<div dir="ltr">I was hired by fpTech to maintain the help files a few years ago. Basically, I used the help files that I created and sold for a bunch of years, then updated them with the new features. I put the version number of when a feature/function was added to filePro in the help file. It really helps when you are coding for a customer with an older version of filePro. <div><br></div><div>When Ken and I entered the programming competition, we did add a number of features that made our life easier. I remember DOEDIT(), DROP ALL, BASE(), GOSUB OF, GOTO OF, NUMFIELDS(), NUMRECS(), PUTENV, REPEAT(), SET, SLEEP, XLATE(), SHOWCTR(), SHOW POPUP, the I/O functions and a few other things. There is nothing like putting the programmers in a real world situation to make the need for certain features quite obvious. I also recall going through Microsoft Access manuals and pulling feature ideas from it as well at right about that time as well. DOW(),  and other date functions came from that. </div><div><br></div><div>Laura Brody</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 31, 2017 at 12:32 PM, Richard Kreiss via Filepro-list <span dir="ltr"><<a href="mailto:filepro-list@lists.celestial.com" target="_blank">filepro-list@lists.celestial.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I checked *cabe help file from previous versions of filePro.<br>
<br>
SHOW POPUP  was added in version 4.5<br>
<br>
Show Popup help information as I send it appeared in *cabe help file in<br>
Version 5.7<br>
<br>
In the help file for version in 5.6 showed an example similar to that in the<br>
5.7 & 5.8 help files.<br>
<br>
It is interesting to go back to see when functions were added to filePro.<br>
Many of the functions we take for granted now were added in 4.5 and 4.8.  If<br>
memory serves, many of the I/O functions were added overnight during a<br>
database competition allow filePro to compete.  It is interesting that most<br>
of the older versions of filePro still work although some earlier versions<br>
are have issues with 64 bit operating systems.<br>
<br>
Richard<br>
<div><div class="h5"><br>
> SHOW popup("17","-1") "\r A \r-Add, \b4 D \a-Delete, \r U \r-Update, \r X<br>
\r-<br>
> Exit"<br>
><br>
> Changed to:<br>
><br>
> SHOW popup("17","-1") "\r A \r-Add, \b4 D \a-Delete, \r U \r-Update, \r C<br>
\r-<br>
> Cards, \r X \r-Exit"<br>
><br>
> I expected this to be a single line popup.  However, when run, the popup<br>
> truncated the word Exit splitting it to a second line to -Ex on one line<br>
and left<br>
> justified xt on the other.<br>
><br>
> After a bit of experimenting, I found that elimination the commas and<br>
setting a<br>
> dummy field xx(75,*) = "\r A \r-Add  \b4 D \a-Delete \r U \r-Update \r X<br>
\r-Exit" I<br>
> had a single line popup as before.<br>
><br>
> When xx was set to (80,*) the word EXIT was truncated but not when the<br>
field<br>
> was (75,*).<br>
><br>
> I just changed the program line to read show popup("17","-1") xx , "more<br>
> Prompts" .  The "more prompts" was located to the lower right and on the<br>
last<br>
> line of the show popup. Window. (see example below)<br>
><br>
> Using an uncast dummy field zz="\r A \r-Add  \b4 D \a-Delete \r U<br>
\r-Update \r X<br>
> \r-Exit More Prompts", places More Prompts on a second line.<br>
><br>
> It appears the maximum number of characters before the string truncates is<br>
75.<br>
> After that the second line appears.<br>
><br>
> So, it appears one can program the show popup to:<br>
><br>
> 1.      look and work similar to listbox with a prompt option except the<br>
need to<br>
> use waitkey-per example below<br>
><br>
> 2.      popup a single line string - 75 characters or less<br>
><br>
> 3.      popup a 2 line string if the first one is longer than 75<br>
characters<br>
><br>
> From the *cabe help file:<br>
> SHOW POPUP  continued)<br>
><br>
> Examples:<br>
>       then: SHOW POPUP ("-1","-1") "Some text here.", "Press \K4 to<br>
Continue"<br>
> loop1  if:<br>
>       then: xx = waitkey<br>
>         if: @sk ne "SAVE"<br>
>       then: goto loop1<br>
>       then: clears<br>
><br>
</div></div>>   This popup     ---------------------------┐<br>
<span class="">>     will be      │ Some text here.          │<br>
</span>>   centered on    L---Press  ESC  to Continue-<br>
<span class="">>   the screen:                                  <- dropshadow<br>
>                                            ^<br>
</span>>                                            L- cursor position<br>
<div class="HOEnZb"><div class="h5">><br>
> Note: For this example, the prompt will contain  F10  on non-DOS/Windows<br>
> systems.<br>
> (continued)<br>
><br>
> Does anyone know if this this is new behavior or just one that I had not<br>
run into<br>
> before?<br>
><br>
> Richard Kreiss<br>
> GCC Consulting<br>
><br>
> -------------- next part --------------<br>
> A non-text attachment was scrubbed...<br>
> Name: winmail.dat<br>
> Type: application/ms-tnef<br>
> Size: 20111 bytes<br>
> Desc: not available<br>
> URL: <<a href="http://mailman.celestial.com/pipermail/filepro-" rel="noreferrer" target="_blank">http://mailman.celestial.com/<wbr>pipermail/filepro-</a><br>
> list/attachments/20171031/<wbr>68cfa4ad/attachment.bin><br>
> ______________________________<wbr>_________________<br>
> Filepro-list mailing list<br>
> <a href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.<wbr>com</a><br>
> Subscribe/Unsubscribe/<wbr>Subscription Changes<br>
> <a href="http://mailman.celestial.com/mailman/listinfo/filepro-list" rel="noreferrer" target="_blank">http://mailman.celestial.com/<wbr>mailman/listinfo/filepro-list</a><br>
> ______________________________<wbr>_________________<br>
> Filepro-list mailing list<br>
> <a href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.<wbr>com</a><br>
> Subscribe/Unsubscribe/<wbr>Subscription Changes<br>
> <a href="http://mailman.celestial.com/mailman/listinfo/filepro-list" rel="noreferrer" target="_blank">http://mailman.celestial.com/<wbr>mailman/listinfo/filepro-list</a><br>
<br>
______________________________<wbr>_________________<br>
Filepro-list mailing list<br>
<a href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.<wbr>com</a><br>
Subscribe/Unsubscribe/<wbr>Subscription Changes<br>
<a href="http://mailman.celestial.com/mailman/listinfo/filepro-list" rel="noreferrer" target="_blank">http://mailman.celestial.com/<wbr>mailman/listinfo/filepro-list</a><br>
</div></div></blockquote></div><br></div>