🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.databases.xbase.clipper
Article #129

Re: Clipper problem about time

#129
From: David Llewellyn
Date: Thu, 16 Apr 1998 00:00
38 lines
2802 bytes
In article <6h532r$khd$1@imsp009a.netvigator.com>, Andy Bun
<andybun@netvigator.com> writes
>Hi everybody:
>
>I have the following two questions with the time() command:-
>
>1. I want to show the current time with the second on the input screen 
>menu. When I get the data or waiting for the choice menu-item, the 
>second can not automatic update.
>
>2. In the main menu, I have use the commands
>                mainmenu +AD0- 0
>                +AEA- 12,3 prompt 'menu 1'
>                +AEA- 13,3 prompy 'menu 2'
>                set menu to mainmenu
>I want to do that, when the users without choice the item after 3 minutes,
>with to the procedure of AUTO+AF8-LOGOUT()
>I have try to use inkey() to do this, but can not success.
>
>
>Anyone can writing the example to me about the above questions.
>Thanks for all.........
>
>From  Andy Bun.
Hi Andy,
I use the CA Clipper Tools function SHOWTIME() to show the current time
during MENU waits. I then use KEYSEC() to simulate a key press after a
preset period. KEYSEC(K_ESC,180) would simulate the ESC key being
pressed after 3 mins  Simple but effective!
Hope this helps
-- 
David C.M. Llewellyn 
Elmtree Technics Computer Consultancy
Software for the Classic Car Industry
http://www.elmtree-technics.demon.co.uk
Voice: +44 (0)1366 501502
Fax:   +44 (0)1366 501112
Technical Details
Message-ID: <2zAn2AA1rnN1EwRr@elmtree-technics.demon.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6h532r$khd$1@imsp009a.netvigator.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f469f,372920b0a7c9262d
X-Google-Attributes: gidf469f,public
X-Google-Thread: f6290,372920b0a7c9262d
X-Google-Attributes: gidf6290,public
X-Google-Thread: 11629a,372920b0a7c9262d
X-Google-Attributes: gid11629a,public
X-Google-Thread: 14fedc,372920b0a7c9262d
X-Google-Attributes: gid14fedc,public
X-Google-Thread: 10b209,372920b0a7c9262d
X-Google-Attributes: gid10b209,public
X-Google-Thread: fc4ca,372920b0a7c9262d
X-Google-Attributes: gidfc4ca,public
X-Google-Thread: 116614,372920b0a7c9262d
X-Google-Attributes: gid116614,public
X-Google-Thread: 142046,372920b0a7c9262d
X-Google-Attributes: gid142046,public
From: David Llewellyn <david@elmtree-technics.demon.co.uk>
Subject: Re: Clipper problem about time
Date: 1998/04/16
Message-ID: <2zAn2AA1rnN1EwRr@elmtree-technics.demon.co.uk>
X-Deja-AN: 344805732
Distribution: world
X-NNTP-Posting-Host: elmtree-technics.demon.co.uk:194.222.70.154
References: <6h532r$khd$1@imsp009a.netvigator.com>
X-Complaints-To: abuse@demon.net
X-Trace: news.demon.co.uk 892764447 nnrp-07:29463 NO-IDENT elmtree-technics.demon.co.uk:194.222.70.154
Organization: elmtree-technics
MIME-Version: 1.0
Newsgroups: alt.comp.databases.xbase.clipper,alt.privacy.clipper,comp.lang.clipper,comp.lang.clipper.visual-objects,fido.clipper,fido.ger.clipper,fido7.clipper,fido7.clipper.fileecho,maus.lang.clipper,relcom.comp.dbms.clipper