Search found 209 matches: inkey

Return to advanced search

How to make an application "sleep"?

What is the best way to make an application "Sleep" for a specified time interval?

In xbase there was a Sleep() function.

I'm aware of "inkey()"

Is there a "best" way to make the process inactive for a time period.

Thanks.
by don lowenstein
Thu Mar 23, 2006 3:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to make an application "sleep"?
Replies: 2
Views: 785

Preprocessor table overflow

317K available
Compiling TESTXBRW.PRG
InKey.ch(200) Fatal C3048 Preprocessor table overflow
by Ehab Samir Aziz
Mon Mar 06, 2006 8:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Preprocessor table overflow
Replies: 1
Views: 896

... to programers to extend and modify Harbour as needed. In example: Clipper language uses opcodes for: Row(), Col(), Upper(), Space(), Replicate(), InKey(), Year(), Month(), etc... where we may just call a standard C function, that uses the standard extend system and that may be easily modified. ...
by Antonio Linares
Fri Jan 27, 2006 1:18 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: maquinas virtuales - virtual machines
Replies: 5
Views: 1781

Antonio Linares wrote:You should not use Inkey() on a FW application.

Ok, thanks.
What should I use to wait a key in FiveWin ?
by concentra
Fri Dec 16, 2005 12:18 pm
 
Forum: FiveWin for CA-Clipper
Topic: Can´t find error meanning. "Error BASE/1009 : <&quo
Replies: 6
Views: 1773

You should not use Inkey() on a FW application.
by Antonio Linares
Thu Dec 15, 2005 2:43 pm
 
Forum: FiveWin for CA-Clipper
Topic: Can´t find error meanning. "Error BASE/1009 : <&quo
Replies: 6
Views: 1773

Can´t find error meanning. "Error BASE/1009 : <&quo

I am getting an error "Error BASE/1009 : <" and can´t find what is it.
This error is not in Clipper docs.
The prg line is "RETURN Inkey()"...
It s an FiveWin + Clipper program.
Does anyone know what is it ?
by concentra
Thu Dec 15, 2005 11:59 am
 
Forum: FiveWin for CA-Clipper
Topic: Can´t find error meanning. "Error BASE/1009 : <&quo
Replies: 6
Views: 1773

Help For Folder change

... page? * this system display a page but not the tab oFld:aDialogs[ncount]:show() *oFld:aDialogs[ncount]:setfocus() oFld:aDialogs[ncount]:refresh() inkey(2) next return
by EduardoAlicante
Sun Nov 13, 2005 5:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help For Folder change
Replies: 1
Views: 1004

Luis: El codigo de la tecla DEL es 7, fijate en fwxx\include\inkey.ch: #define K_DEL 7 // Del, Ctrl-G Esto es para wbrowse, pero podrias adaptarlo al equivalente para la tsbrowse: oBrw:bkeydown:={|nk| Teclas(nk,oBrw3,oBrw,walias) } STATIC FUNCTION Teclas(nk,oBrw3,oBrw,walias) ...
by DanielPuente
Tue Nov 08, 2005 2:25 am
 
Forum: FiveWin para CA-Clipper
Topic: ayuda para saber la tecla
Replies: 1
Views: 897

Problem with application terminating

... CASE UPPER(cDb)=="PSDET" SET INDEX TO &cDir.psx02&Pext CASE UPPER(cDb)=="EVENT" SET INDEX TO &cDir.evntx01&Pext ENDCASE INKEY(.1) EXIT ENDDO RETURN (.T.) ****************************************************************************** * FUNC: _dbclose - Database Open Close ...
by cdmmaui
Fri Oct 28, 2005 10:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with application terminating
Replies: 1
Views: 1936

Leonor, No puedes usar Inkey(). Si nos explicas lo que quieres hacer podemos darte una idea de cómo hacerlo. Hasta ahora se esta utilizando cuando hay un proceso largo como listar una cuenta corriente y se quiere cancelar la operacion ...
by Leonor Gonzalez
Thu Oct 27, 2005 2:00 pm
 
Forum: FiveWin para CA-Clipper
Topic: funciones inkey() y __Keyboard() de clipper
Replies: 4
Views: 1776

Leonor,

No puedes usar Inkey(). Si nos explicas lo que quieres hacer podemos darte una idea de cómo hacerlo.
by Antonio Linares
Wed Oct 26, 2005 4:12 pm
 
Forum: FiveWin para CA-Clipper
Topic: funciones inkey() y __Keyboard() de clipper
Replies: 4
Views: 1776

funciones inkey() y __Keyboard() de clipper

Hola Amigos: Tengo en muchos procesos usando las funciones Inkey() de clipper y __Keyboard(CHR(5)+CHR(13)), con que fueron reemplazadas esas funciones en fivewin porque me tiran error interno 5333.
by Leonor Gonzalez
Wed Oct 26, 2005 3:21 pm
 
Forum: FiveWin para CA-Clipper
Topic: funciones inkey() y __Keyboard() de clipper
Replies: 4
Views: 1776

Re: ASC bug - re: Barbara THIAM's post

From your sample

*************
FUNCTION TEST()
**********
LOCAL cName := SPACE(10)
SET EXACT ON
IF cName = ""
? "OK : This work like Clipper"
ELSE
? "STOP : This work bad"
ENDIF
INKEY(0)
RETURN NIL

I get

"OK : This work like Clipper"

using the latest xHarbour from CVS.

EMG
by Enrico Maria Giordano
Sat Oct 15, 2005 8:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ASC bug - re: Barbara THIAM's post
Replies: 23
Views: 11047

Re: ASC bug - re: Barbara THIAM's post

This works fine for me:

*************
FUNCTION TEST()
**********
LOCAL cName := SPACE(10)
SET EXACT ON
IF cName = ""
? "OK : This work like Clipper"
ELSE
? "STOP : This work bad"
ENDIF
INKEY(0)
RETURN NIL

EMG
by Enrico Maria Giordano
Sat Oct 15, 2005 8:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ASC bug - re: Barbara THIAM's post
Replies: 23
Views: 11047
Previous

Return to advanced search