Search found 645 matches: bkeydown

Return to advanced search

Problemas con comportamiento de XBrowse.

... } } oBrw:bclrSel := {|| { iif(!empty(Neteo->FechaPago),CLR_GREEN,CLR_RED),CLR_WHITE } } // color del focus oBrw:bKeyDown:={|nKey,nFlag|iif(veo(@nApu,@oBrw,aBotones,nKey),eval(aBotones[nApu,4]),NIL)} oBrw:bLDblClick := { |nRow,nCol,nKeyFlags|EditNeteo(.f.),oBrw:SetFocus(),oBrw:Refresh(.t.)} ...
by José Camilo
Fri Mar 15, 2024 2:11 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas con comportamiento de XBrowse.
Replies: 1
Views: 389

Re: Inserting a string with CRLF into a single-line TGet.

1. Why write oGet1:bKeyDown :={ |k|If( k == ASC("V") .and. GetKeyState(VK_CONTROL ), Check CRL F(), ) } for each control if the method can be modified :KeyDown via Override ? With override, the change applies to all Gets ...
by nageswaragunupudi
Tue Dec 12, 2023 10:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Inserting a string with CRLF into a single-line TGet.
Replies: 10
Views: 893

Re: Inserting a string with CRLF into a single-line TGet.

Thank you, Rao, a good solution ! Please explain such points: 1. Why write oGet1:bKeyDown :={ |k|If( k == ASC("V") .and. GetKeyState(VK_CONTROL ), Check CRL F(), ) } for each control if the method can be modified :KeyDown via Override ? 2. Will this function ...
by Natter
Tue Dec 12, 2023 7:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Inserting a string with CRLF into a single-line TGet.
Replies: 10
Views: 893

Ayuda, busqueda incremental

... ; "costo" , ; "UM", , "Ult.Modif" ; LINES CELL font ofont ON dblCLICK ( lsavek := .t., oDlgSTK:End() ) obrw:bKeyDown = { | nKey, nCol, nFlags | iif( nKey = K_ENTER, ( lsavek := .t., oDlgSTK:End() ), ) } oBrw:nRowHeight := 35 REDEFINE BTNBMP 2007 prompt HB_UTF8CHR( ...
by jpcavagnaro
Wed Nov 22, 2023 11:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ayuda, busqueda incremental
Replies: 1
Views: 309

CONTROLAR CLICK SOBRE COLUMNA EN XBROWSE

... cEmpresa), cTab_Art:Refresh() } oBrw:bRClicked := {|| Stock_Producto(.F.,oBrw, cTab_Art, cEmpresa, cTab_Art:cod_art), cTab_Art:Refresh() } oBrw:bKeyDown := { | nKey | TeclasProducto(nKey, oBrw, cTab_Art, cEmpresa) } oBrw:oFont := oFont2 oBrw:SetDolphin(cTab_Art,.T.,.T.) oBrw:aCols[1]:SetCheck( ...
by kpidata
Fri Sep 01, 2023 7:18 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CONTROLAR CLICK SOBRE COLUMNA EN XBROWSE
Replies: 1
Views: 330

evitar que se active columna con xbrowse al dar un click

... cEmpresa), cTab_Art:Refresh() } oBrw:bRClicked := {|| Stock_Producto(.F.,oBrw, cTab_Art, cEmpresa, cTab_Art:cod_art), cTab_Art:Refresh() } oBrw:bKeyDown := { | nKey | TeclasProducto(nKey, oBrw, cTab_Art, cEmpresa) } oBrw:oFont := oFont2 oBrw:SetDolphin(cTab_Art,.T.,.T.) oBrw:aCols[1]:SetCheck( ...
by kpidata
Fri Sep 01, 2023 7:17 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Inhabilitar columna en xBrowse - Disable column in xBrowse
Replies: 8
Views: 1075

error TXBROWSE:CARGOS

... || ( dbselectarea( "RApertur" ), ofld1:aDialogs[ 2 ]:update(), oRApertur:gotop(), oRApertur:update(), oRApertur:refresh() ) } oRApertur:bKeyDown := { | nKey | VeoReg(, 1, oRApertur, nkey, "RApertur" ) } redefine say oObjetivo var xObjetivo memo id 4001 of ofld1:aDialogs[ 2 ...
by jpcavagnaro
Wed Aug 30, 2023 12:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: error TXBROWSE:CARGOS
Replies: 3
Views: 276

Re: enviar una tecla desde un boton

... .OR. GETKEYSTATE( VK_ESCAPE ) .OR. ;              LASTKEY() = VK_ESCAPE      // ...   ELSE      // ...   ENDIF  Puede usar el bKeyDown() también. Regards, saludos.
by karinha
Mon Aug 21, 2023 6:47 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: enviar una tecla desde un boton
Replies: 5
Views: 283

Re: need Help with oBro:bSeek

... if the cell is editable. [A reason why we should not disturb the internal behavior of XBrowse by assigning different actions to common keys using bKeyDown] When FASTEDIT is true (oBrw:lFastEdit is .t.), pressing a permitted alpha numeric key starts inline cell edit, using that key as the first ...
by nageswaragunupudi
Wed Aug 16, 2023 4:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: need Help with oBro:bSeek
Replies: 3
Views: 215

Re: Consulta sobre centrar un dialogo.

... := .f. // quitar barra horizontal oBrw:lHScroll := .F. oBrw:aCols[ 4 ]:cDataType := "F" oBrw:aCols[ 2 ]:nWidth := 20 oBrw:bKeyDown:={|nKey,nFlag|iif(veo(@nApu,@oBrw,aBotones,nKey),eval(aBotones[nApu,4]),NIL)} oBrw:bLDblClick := { |nRow,nCol,nKeyFlags|/*EditCorrijo(.f.),*/oBrw:Refresh()} ...
by José Camilo
Tue Aug 01, 2023 1:51 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Consulta sobre centrar un dialogo.
Replies: 9
Views: 433

Cursor in XBROWSE "down" instead of "right" after ENTER

hi, i have Set EDIT_NONE and use oWnd:bKeyDown to react on VK_RETURN   oBrw:nEditTypes := EDIT_NONE   oWnd:bKeyDown := { | nKey, nFlag | DoBrowseKey( nKey, nFlag, oWnd, oGet, oBar, oBrw, aHead ) } STATIC PROCEDURE DoBrowseKey( ...
by Jimmy
Sat Jun 10, 2023 11:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Cursor in XBROWSE "down" instead of "right" after ENTER
Replies: 2
Views: 197

Re: Xbrowse para carga rápida

Hola. usas un Get, yo lo uso asi

REDEFINE GET aGets[17] VAR codbarra ID 30 OF oDlg PICTURE "@!" UPDATE

aGets[17]:bKeyDown:={|nKey|If(nkey == VK_RETURN,BuscarProd( @codbarra,oBrw1,aPunto_A,oDlg,TotVal,aGets ), ) }

saludos
by jbrita
Tue May 23, 2023 4:05 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Xbrowse para carga rápida
Replies: 7
Views: 742

activate BUTTON ACTION Codeblock via F2 - F9

hi, my BUTTON have a Caption which can be used as Hotkey using ALT + Key now i like to use F2 - F9 to activate BUTTON i can use o:bKeyDown Codeblock Slot to call a Functrion and use VK:* Key to identify how to EVAL() ACTION Codeblock e.g. for VK_F2 :?:    DEFINE BUTTONBAR oBar SIZE nPart, ...
by Jimmy
Tue May 02, 2023 3:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: activate BUTTON ACTION Codeblock via F2 - F9
Replies: 2
Views: 135

how to use VK_F10 ?

hi,

i can use o:bKeyDown to F2 - F9 and F11
i know VK:F12 can be Devugger, but how to get VK:F10 ... it does "open" Menu if exist ...
by Jimmy
Tue May 02, 2023 3:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: how to use VK_F10 ?
Replies: 0
Views: 125

Re: Function XbrHexEdit() "more" Search

got it :D a.) make a copy function XbrHexEdit() of which is in c:\fwh\source\classes\xbrowse.prg b.) add    oBrw:bKeyDown := { | nKey, nFlag | DoHEXKey( nKey, nFlag, oDlg, oBrw, cUpper ) } ! Note : bKeyDown here is for oBrw, not oDlg c.) use this Function STATIC ...
by Jimmy
Fri Apr 14, 2023 4:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Function XbrHexEdit() "more" Search
Replies: 2
Views: 308
Next

Return to advanced search