Search found 33 matches: getasynckey

Return to advanced search

Re: Fivewin Setkey(ALT + F2, {|| ...} ) ?

Armando wrote:Enrico:

In my example

GetAsyncKey(VK_SHIFT,VK_TAB)

Works fine.


Please try with

Code: Select all  Expand view
GetAsyncKey(VK_SHIFT)


It should be the same.
by Enrico Maria Giordano
Mon Oct 31, 2022 6:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fivewin Setkey(ALT + F2, {|| ...} ) ?
Replies: 10
Views: 610

Re: Fivewin Setkey(ALT + F2, {|| ...} ) ?

Enrico:

In my example

GetAsyncKey(VK_SHIFT,VK_TAB)

Works fine.

If I push the TAB key only, the focus jumps to the next GET, but
If I push both keys, VK_SHIFT + VK_TAB, the focus jumps to the previous GET.

Regards
by Armando
Mon Oct 31, 2022 5:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fivewin Setkey(ALT + F2, {|| ...} ) ?
Replies: 10
Views: 610

Re: Fivewin Setkey(ALT + F2, {|| ...} ) ?

Armando wrote:Jimmy:

Here is an other sample

IF GetAsyncKey(VK_UP) .OR.;
GetAsyncKey(VK_SHIFT,VK_TAB)
RETURN (.T.)
ENDIF

Regards


GetAsyncKey() takes only one argument.
by Enrico Maria Giordano
Mon Oct 31, 2022 5:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fivewin Setkey(ALT + F2, {|| ...} ) ?
Replies: 10
Views: 610

Re: Fivewin Setkey(ALT + F2, {|| ...} ) ?

Jimmy:

Here is an other sample

IF GetAsyncKey(VK_UP) .OR.;
GetAsyncKey(VK_SHIFT,VK_TAB)
RETURN (.T.)
ENDIF

Regards
by Armando
Mon Oct 31, 2022 5:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fivewin Setkey(ALT + F2, {|| ...} ) ?
Replies: 10
Views: 610

Re: Ayuda DLL

Antonio, aquí la segunda parte: Error: Unresolved external '_HB_FUN_DRAWTHEMED' referenced from P:\32BITS\FWH\LIB\FIVEHX.LIB|DIALOG Error: Unresolved external '_HB_FUN_GETDLGBASEUNITS' referenced from P:\32BITS\FWH\LIB\FIVEHX.LIB|DIALOG Error: Unresolved external '_HB_FUN_CDLG2CHR' referenced from P...
by ricardog
Thu Aug 31, 2017 2:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda DLL
Replies: 24
Views: 6383

Save all the Screen to BMP

... i'am not able !! :-( This is my example: define timer otime interval 50 action myfunc() of mainwnd activate timer otime . . . function myfunc if getasynckey(119) * F8 pressed HERE i need to write a BMP file with all the present screen endif return nil * ANY HELP ? tks all ROMEO/zingoni
by Romeo
Wed Oct 07, 2015 3:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Save all the Screen to BMP
Replies: 13
Views: 1850

Re: CANCEL en tsbutton 7.0, no funciona

... TSButton If nLastKey > 0 .and. nLastKey == ::nWakeup ::nWakeup := 0 EndIf If ( ! ::oWnd:lValidating .and. ::lCancel .and. ::cAccel != Nil .and. GetAsyncKey( VK_MENU ) .and. ; GetAsyncKey( Asc( Upper( ::cAccel ) ) ) .and. ::nWakeup == 0 ) ::SendMsg( FM_CLICK ) Return 1 ElseIf (! ::oWnd:lValidating ...
by noe aburto
Mon Sep 23, 2013 1:42 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: CANCEL en tsbutton 7.0, no funciona
Replies: 3
Views: 926

Busqueda en browse

... para buscar y nada. Gracias. static function BuscaDato(oBUSCAR,aVent,cKey) local nSeekRec:=recno(),lDesp:=.t.,nSeekNvo,nOrdAnt MsgAlert(nKey) if GetAsyncKey(VK_BACK) cKey:=substr(cKey,1,len(cKey)-1) endif cKey:=left(cKey,len(cKey)-1) nOrdAnt:=OrdSetFocus(aBUSCAR[1]) dbseek(cKey,.t.) nSeekNvo:=recno() ...
by noe aburto
Mon Aug 19, 2013 11:28 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Busqueda en browse
Replies: 3
Views: 838

Re: codigo de barras serial (com1) ayuda urgente

... aVar[7,2] PICTURE "99999.999" ID 109 OF oDlg COLOR CLR_MAGENTA, CLR_HGRAY // Precio ... ... Activate Dialog oDlg CENTERED Valid if(GetASyncKey(VK_ESCAPE),.F.,.T.) 1. Leer (ReadComm->Robert Frank) por puerto serial(scanner) el codigo de barras y pasarlo al -> campo(aVar[26,2]t) ...
by Andres Barillas
Thu Dec 15, 2011 10:22 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: codigo de barras serial (com1) ayuda urgente
Replies: 6
Views: 2356

Re: Lectura serial error ? Help urgente

... aVar[7,2] PICTURE "99999.999" ID 109 OF oDlg COLOR CLR_MAGENTA, CLR_HGRAY // Precio ... ... Activate Dialog oDlg CENTERED Valid if(GetASyncKey(VK_ESCAPE),.F.,.T.) - No entiendo como FW24 se vincula o interactua el EVENTO de la lectura del scanner(ReadComm y lo demas....) con el ...
by Andres Barillas
Thu Dec 15, 2011 6:58 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: codigo de barras serial (com1) ayuda urgente
Replies: 6
Views: 2356

Re: Controlar Keystrokes en un GET

Adolfo: Tal vez las funciones GetKeyState() y GetAsyncKey() te sirvan, por ejemplo algo así: IF GetAsyncKey(VK_UP) .OR.;    GetAsyncKey(VK_SHIFT,VK_TAB)    tu código......ENDIFIF GetKeyState(VK_UP) .OR.;    GetKeyState(VK_SHIFT,VK_TAB)  ...
by Armando
Mon Jul 25, 2011 10:31 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Controlar Keystrokes en un GET (Solucionado)
Replies: 2
Views: 550

Re: Help no puedo saltar de get en get con ENTER :(

Ola Aida,

Tive este tipo de problema e resolvi assim:

redefine oget[1] var ...
oGet[1]:blostfocus:={|| if(GetASyncKey(VK_RETURN),xsetfocus(oGet[2]),nil)}
redefine oget[2] var ...

Espero ter ajudado
by MGA
Wed Jun 02, 2010 7:31 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Help no puedo saltar de get en get con ENTER ya resuelto :)
Replies: 8
Views: 1359

Re: Se necesita ayuda en el wiki !

... que faltaban. Parece que había mucha copia directa sin corregir, desde los chm de FiveWin. Ahora ya está bien. GetActiveWindow() GetAllWin() GetASyncKey() Getbkcolor() GetCapture() GetCaretPos() GetClassName() GetClientRect() GetClpData() GetCommError() GetCoors() Getcpu() GetCpuSpeed() GetCtrlId() ...
by Cgallegoa
Sun Feb 21, 2010 10:35 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Se necesita ayuda en el wiki !
Replies: 12
Views: 5510

Showing a asociated dialog with a xbrowse

... .OR. GetKeyState(VK_UP) RETURN END Pressing one from the keys (also very short) executes always RETURN , nothing is updated DO WHIL GetAsyncKey(VK_DOWN) .OR. GetAsyncKey(VK_UP) END This works partially , pressing one from the keys the program continues only when the key is released. ...
by demont frank
Thu Dec 18, 2008 9:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Showing a asociated dialog with a xbrowse
Replies: 0
Views: 599

DESVIA PARA UNA FUNCTION()

IF GETASYNCKEY( VK_UP )

RETURN( . F. )

ENDIF

RETURN( .T. )

TIENE QUE TENER MAS DE UNO GET EN EL DIALOGO.
by karinha
Tue Sep 23, 2008 4:24 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Una de Get .... ACTION
Replies: 7
Views: 1393
Next

Return to advanced search