Msgbox automatically closing after about 1 second or so....

Jose Lerebours fpgroups at gmail.com
Thu May 14 19:16:35 PDT 2020


If Ken's observation does not point you towards a solution and after 
exhausting everything you can throw at this and still cannot live with 
the vanishing msgbox, here is an idea that may help you solve it (patch 
it or work around it)

(1) create a screen meant to be used for popup like so (notice that the 
screen must be on axis 0,0)

+--------------------------------------+
| *mx                                        |
+--------------------------------------+

(2) set value to variable mx and use popup command to display the screen ...

My old filePro application has an inline help where if user presses F1, 
a variable is set to trigger the help routine from @wef*/@wlf*

Easy and dynamic help using a lookup and a popup

312  -------   -   -   -   -   -   -   -   -   -   -   -   - -   -   -   -
        � If: �
        Then: lookup hlp = asordhlp@  k=hz   i=a 
-nx                            �
313  -------   -   -   -   -   -   -   -   -   -   -   -   -   - -   -   -
        � If: hlp �
        Then: popup (hlp(4),hlp(5)) hlp, 
(hlp(6))                               �
314  -------   -   -   -   -   -   -   -   -   -   -   -   -   - -   -   -

I think I wrote this long before the "msgbox" came about - I defined a 
number of
screen prefixed with _msg or just _ and then popup the screen depending 
on what was needed

Sample screen:

┌────────────────────────────────────────┐
│  There is zero (0) available for this │
│  item. │
│ │
│   Would you like to Back Order (Y/N)? │
└────────────────────────────────────────┘

The help routine is based on @fd and @sn combined with file where the 
help is being called from.
These days filePro has no means (at least not that I remember) to tell 
you what the x,y positions of the
@fd on screen so I had to enter the values on the file where the context 
of the help was kept.



On 5/14/20 9:28 PM, James Flanagan via Filepro-list wrote:
> Redhat Enterprise 6.8 (2.6.32-754.11.1.el6.x86_64)
> Filepro 5.8.01.06D6
>
> In the last few days, one of my server is experiencing a strange issue with msgbox’s, where they close automatically after about a second or so.  At first, I thought that I was a client issue, but after testing it on several clients, and having rebooted the server, the issue continues.
>
> I have searched through the manual and cannot locate anything that may have been accidentally set.
>
> Has anyone here seen this behavior before?  Whatever might be causing it, I need to get the server back to where it requires an ENTR key to close the msgbox window.  Thank you all in advance….
>
>
>
> James Flanagan
> Flantec.com <http://flantec.com/>
>
> email:	James at Flantec.com <mailto:James at Flantec.com>
> mobile:	760-458-8498
> home: 	219-221-6219
> text:		7604588498 at txt.att.net <mailto:7604588498 at txt.att.net>
>
> Skype:	Flantec
> ichat:	James at Flantec.com <mailto:James at Flantec.com>	
>
> home:	1901 Cidermill Road
> 		Michigan City, IN 46360
>
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20200514/73dffc12/attachment.html>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: PastedGraphic-1.tiff
> Type: image/tiff
> Size: 19328 bytes
> Desc: not available
> URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20200514/73dffc12/attachment.tiff>
> _______________________________________________
> 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