I've noticed that in the vertical scrollbar the arrows are working ok, while by directly moving the square, sometimes filtered data reappears in the browse (sometimes even deleted records)
oBrw:KeyCount() returns a number including also the filtered records.
Maybe I should specify a scope for the browse instead of using SET FILTER TO externally ? - If so, how ?
TIA
Davide
FWH 27-3 - xH 0.99.60
- Code: Select all Expand view RUN
// Database already opened, SET DELETED ON, filtered data with SET FILTER
oBrw := TXBrowse():New( oWnd )
oBrw:nMarqueeStyle := MARQSTYLE_HIGHLROW
oBrw:nColDividerStyle := LINESTYLE_BLACK
oBrw:nRowDividerStyle := LINESTYLE_BLACK
oBrw:SetRDD()
For i:=1 to 3
oBrw:aCols[ i ]:blDClickData := {|r,c,f,o| MyFunc(.f.) }
Next i
oBrw:lVScroll:=.f. // workaround
oBrw:CreateFromCode()
oWnd:oClient := oBrw