XBROWSER Question

XBROWSER Question

Postby Enrrique Vertiz » Mon Apr 17, 2017 3:38 pm

Dear, good morning, inquiry

I'm newbie using xBrowser, I define it well and presents the array Ok:

XBROWSER aSal TITLE "Seleccione Liquidacion" SETUP ( oBrw:cHeaders := { "Cuenta", "Auxiliar", "Td", "NumDoc", "Liquidac.", "Saldo MN", "Saldo ME" } )

But I would like to increase that double click on a record close the xBrowser and return the registration number where the double click.

Thank you very much
Enrrique Vertiz Pitta
Lima-Peru
xHb 1.23.1026X, Fwh 24.09, BCC74, MySQL 8.0.X, SQLLIB 1.9m
Enrrique Vertiz
 
Posts: 541
Joined: Fri Oct 07, 2005 2:17 pm
Location: Lima - Peru

Re: XBROWSER Question

Postby Silvio.Falconi » Mon Apr 17, 2017 5:26 pm

oGrid:bRClicked := {|nRow,nCol| your function }
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7056
Joined: Thu Oct 18, 2012 7:17 pm

Re: XBROWSER Question

Postby nageswaragunupudi » Tue Apr 18, 2017 3:30 am

Code: Select all  Expand view

local RetVal

XBROWSER aSal TITLE "Seleccione Liquidacion" SETUP ( oBrw:cHeaders := { "Cuenta", "Auxiliar", "Td", "NumDoc", "Liquidac.", "Saldo MN", "Saldo ME" } ) SELECT RetVal := oBrw:NumDoc:Value

? RetVal
 


OR

Code: Select all  Expand view
local RetVal

XBROWSER aSal TITLE "Seleccione Liquidacion" SETUP ( oBrw:cHeaders := { "Cuenta", "Auxiliar", "Td", "NumDoc", "Liquidac.", "Saldo MN", "Saldo ME" } ) SELECT RetVal := oBrw:KeyNo

? RetVal

 
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10632
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: XBROWSER Question

Postby Enrrique Vertiz » Tue Apr 18, 2017 4:14 am

Thanks Silvio

Thanks Rao, 100% Ok
Enrrique Vertiz Pitta
Lima-Peru
xHb 1.23.1026X, Fwh 24.09, BCC74, MySQL 8.0.X, SQLLIB 1.9m
Enrrique Vertiz
 
Posts: 541
Joined: Fri Oct 07, 2005 2:17 pm
Location: Lima - Peru


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 35 guests