Search found 651 matches: bkeydown

Return to advanced search

Consulta color en xbrowse

... := {|| { iif(empty(_ActxCoe->FecAct),CLR_GREEN,CLR_RED),CLR_WHITE } } // color del focus // quitar barra horizontal //oBrw:lHScroll := .F. oBrw:bKeyDown:={|nKey,nFlag|iif(veo(@nApu,@oBrw,aBotones,nKey),eval(aBotones[nApu,4]),NIL)} oBrw:CreateFromCode() cGrad := PadR( GradStr( BrwGrad( oBrw ) ...
by José Camilo
Wed Oct 30, 2024 11:31 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Consulta color en xbrowse
Replies: 1
Views: 97

Re: FWH_2407 oSay does not assume nHeight

... 015, 007 ) WQout( { oTest2:nHeight } ) oWnd:Activate(, oWnd:bLClicked, oWnd:bRClicked, oWnd:bMoved, oWnd:bResized, oWnd:bPainted, oWnd:bKeyDown, oWnd:bInit,,,,,,,,,,, oWnd:bLButtonUp, .F. ) return NIL
by vinhesoft
Thu Aug 22, 2024 8:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH_2407 oSay does not assume nHeight
Replies: 32
Views: 4648

Re: ListBox Input Field Scrolling........

... != nil, 12, 0 ),; aDim[ 3 ] - aDim[ 1 ] OF oDlg ; FONT oFont COLOR nClrFore, nClrBack oGet:oFont := oBrw:oFont oGet:oGet:Picture := cPicture oGet:bKeyDown := {|nKey| If(nKey=115,; ( uVar := If(DispDesc,(DispDesc(aDArray,tRtn)),cVar),; oGet:Refresh(),oGet:SetFocus(.T.)), ; If(iHelp,If(nKey=114,(uVar:=W_21A1(uVar,WHlp), ...
by RiazKhan
Thu Aug 22, 2024 4:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ListBox Input Field Scrolling........
Replies: 5
Views: 1251

Re: Timeout to close App

hi,

my Sample seems to work but it need a Keyboard Event (oDlg:bKeyDown = { || oDlg:End() } ) or a CLICK ( ON CLICK oDlg:End() ) to END().
how can i END() when just MOVE Mouse :?:
by Jimmy
Thu Aug 08, 2024 1:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Timeout to close App
Replies: 16
Views: 2851

Re: Need Help giide for my program

... oBrw:aAppend := AClone( aBlankItem ) ), ; oBrw:GoBottom(), oBrw:GoLeftMost(), oBrw:RefreshCurrent(), ; oBrw:MakeTotals(), oBrw:Refresh() ) ) } :bKeyDown := { |k| If( k == VK_DELETE, ( oBrw:aAppend := nil, oBrw:Delete(), 0 ), nil ) } END WITH OBJECT oBrw:aCols[ 1 ] :nEditType = EDIT_BUTTON :bEditBlock ...
by Otto
Fri Jul 19, 2024 7:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Need Help guide for my program.
Replies: 38
Views: 2346

Re: Intercept pressing VK_SNAPSHOT ( "PrtScr" )

> Or, how do I send this key pressing event to the :bKeyDown block of an object ? #include "Fivewin.ch"static oDlgfunction Main()     DisablePrintScreen()     DEFINE DIALOG oDlg      oDlg:bKeyDown = { | nKey | If( ...
by Antonio Linares
Thu Jul 04, 2024 11:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intercept pressing VK_SNAPSHOT ( "PrtScr" )
Replies: 6
Views: 452

Re: Intercept pressing VK_SNAPSHOT ( "PrtScr" )

Or, how do I send this key pressing event to the :bKeyDown block of an object ?
by concentra
Thu Jul 04, 2024 11:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intercept pressing VK_SNAPSHOT ( "PrtScr" )
Replies: 6
Views: 452

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: 598

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: 1430

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: 1430

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: 405

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: 1598

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: 514

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: 507

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: 368
Next

Return to advanced search