... los datos, pero como dije: incomodo y anti-estetico. Aquí está como lo solucioné: :bKeyDown := {|nKey| if( nKey == VK_RETURN, ( PostMessage( oBrwMenu:hWnd, WM_KEYDOWN, VK_LEFT ), MiCalculad(x,x) ),) } La Function MiCalculad(x,x) es un dialogo calculadora para digitar cantidad del producto. ...
... los datos, pero como dije: incomodo y anti-estetico. Aquí está como lo solucioné: :bKeyDown := {|nKey| if( nKey == VK_RETURN, ( PostMessage( oBrwMenu:hWnd, WM_KEYDOWN, VK_LEFT ), MiCalculad(x,x) ),) } La Function MiCalculad(x,x) es un dialogo calculadora para digitar cantidad del producto. ...
Despues de "dar mas vueltas que un trompo". PostMessage( oBrwMenu:hWnd, WM_KEYDOWN, VK_LEFT ) Saludos. Hola buenos dias Ing. Francisco, eso igual andaba buscando y lei tu post, pero al parecer a mi no me funciona , le doy enter y me mueve el puntero ...
... I was moving in the wrong direction. For the code to work successfully, I had to eliminate the following lines (GET), Detlef you are right. oBrwMenu:aCols[2]:nEditType := EDIT_GET oBrwMenu:aCols[2]:bEditvalue := { || space(0) } Detlef, ...
disculpa que me he demorado en responder... estube fuera del aire por asuntos personales elimina esta linea oBrwMenu:aCols[2]:bEditvalue := { || space(0) } ya esta no la necesitas oBrwMenu:bLDblClick:={|nRow, nCol| if(nCol == 2, .F., ),MsgInfo("Test"),oBrwMenu:Refresh(),.T.} ...
Problem solved!
I changed my xBrowse.ch and the problem with the syntax erro was solved, but now I have this error:
Array acess in this line: oBrwMenu:aCols[1]:nWidth:=350
I think that is something with my version of fivewin.
Hi, How do I disable a mouse double click event on xBrowse ? How do I trap a mouse double click event on xBrowse ? oBrwMenu:bLClicked is used for left click, what could be the equivalent for Mouse left button double click I want to ignore Mouse Double clicks on a particular column ...
Is there any way to contol the active column to be always 2 ie oBrwMenu:nColSel should be always 2 I solved active column issue by changing the the bKeyDown to make Column 2 as Selected column before the PostMessage oBrwMenu:bKeyDown= {|nKey| oBrwMenu:nColSel:=2 ...
... is not the 2nd column then the Dialog itself is getting closed. I think it is because of the PostMessage 27. So I changed your sample code to oBrwMenu:bKeyDown= {|nKey| if(oBrwMenu:nColSel == 2,if ( nKey == VK_RETURN, PostMessage( oBrwMenu:hWnd, WM_KEYDOWN, 27 ...
Hi Daniel, Thankyou for the support. oBrwMenu:aArrayData did the trick oBrwMenu:nWidth should be set manually for oBrwMenu:aCols[ 2 ]:bStrData:={||NIL} to work properly otherwise it will give an error Len(0). oBrwMenu:aCols[ 2 ]:nWidth:=100 ...
Dear Freinds, In my app I am using a dialog with 2 xBrowse's on it. xBrowse 1 (oBrwUsers) will display the user's list xBrowse 2 (oBrwMenu) will display the Menu's available to the user Wne the user moves thru the xBrowse 1, xBrowse 2 should update/refresh the menu's available to the user ...