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
2 txbrowse in 1 dialog, bdblclick cause browse display wrong
-
- Posts: 454
- Joined: Sun Oct 30, 2005 6:37 am
- Location: Guangzhou(Canton),China
-
- Posts: 454
- Joined: Sun Oct 30, 2005 6:37 am
- Location: Guangzhou(Canton),China
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
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