2 txbrowse in 1 dialog, bdblclick cause browse display wrong

2 txbrowse in 1 dialog, bdblclick cause browse display wrong

Postby ShumingWang » Fri May 19, 2006 7:49 am

Hi,
If I put 2 txbrowse into 1 dialog, after dblclick on one txbrowse, click each of the 2 txbrowses ,the 2 txbrowse will cause worng refresh/display/confused.
Any suggestion ?
Best regard!
Shuming Wang
ShumingWang
 
Posts: 465
Joined: Sun Oct 30, 2005 6:37 am
Location: Guangzhou(Canton),China

Postby ShumingWang » Thu May 25, 2006 1:51 am

I change into below, porblem still,


obrow1

obrow2

obrow2:BLDBLClick:={||msginfo("aaa")}


METHOD LDblClick( nRow, nCol, nKeyFlags ) CLASS TXBrowse

local oCol
local nColPos, nRowPos

// add
if ::BLDBLClick<>nil
return Super:LDblClick( nRow, nCol, nKeyFlags )
end
//add

::CancelEdit()
::Seek()

Best regard!
Shuming Wang
ShumingWang
 
Posts: 465
Joined: Sun Oct 30, 2005 6:37 am
Location: Guangzhou(Canton),China


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: nageswaragunupudi and 88 guests