2 txbrowse in 1 dialog, bdblclick cause browse display wrong

Post Reply
ShumingWang
Posts: 454
Joined: Sun Oct 30, 2005 6:37 am
Location: Guangzhou(Canton),China

2 txbrowse in 1 dialog, bdblclick cause browse display wrong

Post by ShumingWang »

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: 454
Joined: Sun Oct 30, 2005 6:37 am
Location: Guangzhou(Canton),China

Post by ShumingWang »

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
Post Reply