Search found 64 matches: lastkey

Return to advanced search

Keyboard event and the ActiveX object

Hi,

I need to handle the keyboard event when the ActiveX object is active.
The only thing that comes to mind is to check lastkey() by timer. Maybe there are some ideas ?
by Natter
Wed Dec 13, 2023 1:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Keyboard event and the ActiveX object
Replies: 1
Views: 205

Re: HARU PDF

... // to avoid conflicts with Harbour functions #xtranslate __Keyboard( => ___Keyboard( // to avoid conflicts with Harbour functions #xtranslate LastKey( => _LastKey( // to avoid conflicts with Harbour functions #endif
by byron.hopp
Mon Mar 28, 2022 7:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: HARU PDF
Replies: 8
Views: 616

Check keyboard buffer without the program being in focus

... CTRL + J The problem is that the program is minimized in the tray. the CTRL key I can check with GETKEYSTATE plus the letter J key only with LastKey (), but it works if the program is in focus. Is there another function that could read the keyboard buffer without the program being in focus?
by Giovany Vecchi
Wed Jan 29, 2020 7:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Check keyboard buffer without the program being in focus
Replies: 1
Views: 528

Re: keyboard clear buffer

Antonio, lastkey() still shows 13 instead of clear I found another solution for the break and added __keyboard( "A" ) // 65 lastkey() = 65 ......        IF LASTKEY() = 13             IF MsgYesNo("Exit ...
by ukoenig
Thu Feb 01, 2018 5:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: keyboard clear buffer
Replies: 2
Views: 1087

keyboard clear buffer

... to break a combination of < DO WHILE > and < FOR NEXT > with < RETURN > I'm using IF LASTKEY() = 13 IF MsgYesNo("Exit from topic collect ?", "EXIT" ) nPage := nPages + 10 // < do while > break lBreak := .T. ...
by ukoenig
Thu Feb 01, 2018 11:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: keyboard clear buffer
Replies: 2
Views: 1087

Re: funciones de FWH y Harbour en un archivo .txt

... KSetScroll([<lNewMode>])->lOldMode L2Bin(<nExp>->cBinaryInteger LastDayoM(<dDate>|<nMonth>)->nDaysInMonth LastKey()->nInkeyCode LastRec()->nRecords Left(<cString>,<nCount>)->cSubString Len(<aArray>|<cString>|<hHash>)->nCount ...
by carlos vargas
Sat Oct 21, 2017 8:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 5707

Re: funciones de FWH y Harbour en un archivo .txt

... IsPrinter IsPrinter IsPunct IsSpace IsUpper IsUpper IsXDigit JustLeft JustRight KbdStat KeySec KeyTime KSetIns KSetNum KSetScroll L2Bin LastDayoM LastKey LastRec Left Len LenNum LoadLibrary Log Log10 Lower LtoN LTrim LUpdate MakeDir Mantissa Max MaxCol MaxLine MaxRow MCol MDblClk MDY MemoEdit ...
by carlos vargas
Sat Oct 21, 2017 8:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 5707

Re: multiple defintions, forst defined here

... SELECTWINDOW() = HMAINWND DOEXIT() END END CASE NEVENT = EVENT_DESTROY IF SELECTWINDOW() = HMAINWND DOEXIT() END CASE NEVENT = EVENT_CLOSE .AND. LASTKEY() != K_ALT_F4 IF SELECTWINDOW() = HMAINWND DOEXIT() END CASE NEVENT = EVENT_QUIT QUIT CASE NEVENT = EVENT_RCLICK * SEE IF MAIN WNDOW IS RIGHT ...
by lmheimendinger
Mon Dec 05, 2016 3:52 pm
 
Forum: FiveWin for CA-Clipper
Topic: multiple defintions, forst defined here
Replies: 15
Views: 20235

Re: Como reproducir un video mp4

... = 100 oActiveX:url ="FIVEWIN.avi" // "C:\MUSICA\audio1.mp3" While oActiveX:Playstate != 1 SysRefresh() If Lastkey()=27 Exit Endif EndDo oDlgP:End() Return nil // FIN
by karinha
Wed Mar 02, 2016 2:36 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como reproducir un video mp4
Replies: 13
Views: 3306

Re: Crear un Dialogo que muestre procesos en linea

Gracias Karina,
no sabia que la funcion lastkey() funcionaba en Fivewin,,,
voy a probarla..

Saludos
Lubin
by lubin
Tue Sep 08, 2015 6:38 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Crear un Dialogo que muestre procesos en linea
Replies: 5
Views: 541

Problem with FWH 13.09

Antonio, I installed FWH 13.09 but after rebuilding my application, I got a whole list of externals which weren't found : _HB_FUN_RESALLFREE _HB_FUN_SYSREFRESH _HB_FUN_LASTKEY _HB_FUN_LWRUNNING _HB_FUN_READBITMAP _HB_FUN_GETWNDAPP _HB_FUN_DIALOGBOX _HB_FUN_WINRUN .... (a lot more) Any idea what is w...
by driessen
Thu Oct 31, 2013 4:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with FWH 13.09
Replies: 13
Views: 2529

Re: Eof() en xBrowse

Prueba tambien asi:
n:=1
Do While .T.
If Lastkey()=27
oDlgP:End()
Exit
Endif
oBrw:GoDown()
n+=1
If n = oBrw:nLen
?"fin"
oBrw:GoTop()
Endif
EndDo
by FranciscoA
Sat Sep 07, 2013 1:06 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Eof() en xBrowse
Replies: 16
Views: 2876

Re: TActiveX() (play a video or sound)

Muchas gracias Antonio Me quedo con oActiveX:uiMode = "none" Tuve que aumentar If Lastkey()=27 Exit Endif Para finalizar el video, el Lastkey se queda con 27 y ya no muestra otro video, cómo se inicializa? LO SOLUCIONE CON __KeyBoard(Chr(13)) Lo ideal seria ...
by acuellar
Wed Jun 19, 2013 1:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TActiveX() (play a video or sound)
Replies: 23
Views: 5393

Re: LIBRERIA FIVEPRO 32 BITS

Esro es lo que sale. Enlazando UTILDISC.exe... Warning: Unable to perform incremental link - performing full link... Error: Unresolved external '_hb_vmProcessSymbols' referenced from C:\XEDIT2\OBJ\EJEMPLO.DBJ Error: Unresolved external '_HB_FUN_SETCOLOR' referenced from C:\XEDIT2\OBJ\EJEMPLO.DBJ Err...
by Goliat
Thu Nov 15, 2012 5:52 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: LIBRERIA FIVEPRO 32 BITS
Replies: 18
Views: 4170

Re: Usando GUI y CUI juntos

... 1, 2 SAY "First.............:" GET cFirst VALID TestValid() @ 3, 2 SAY "Last.(F2-KEY TEST):" GET cLast when TestWhen() READ if lastkey()==27 exit endif @ 13,01 to 17,08 double nOpc:=1 @ 14, 2 prompt "Browse" message 'browse Test' @ 15, 2 prompt "DBedit" message ...
by MGA
Tue Aug 14, 2012 6:16 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Usando GUI y CUI juntos
Replies: 26
Views: 8808
Next

Return to advanced search