In my test when we right click oBrw:aSelected is showing all selected records correctly.
Please try this sample:
- Code: Select all Expand view
- #include 'fivewin.ch'
#include 'xbrowse.ch'
REQUEST DBFCDX
function main()
local oDlg, oBrw, oFont
USE CUSTOMER NEW VIA "DBFCDX"
DEFINE FONT oFont NAME "TAHOMA" SIZE 0,-14
DEFINE DIALOG oDlg SIZE 800,400 PIXEL FONT oFont TITLE FWVERSION
@ 10,10 XBROWSE oBrw SIZE -10,-10 PIXEL OF oDlg DATASOURCE "CUSTOMER" ;
AUTOCOLS LINES AUTOSORT NOBORDER
WITH OBJECT oBrw
:nMarqueeStyle := MARQSTYLE_HIGHLROWMS
:bClrSel := { || { CLR_BLACK, CLR_HGRAY } }
:bRClicked := { || xbrowse( oBrw:aSelected, "SELECTED ROWS" ) }
//
:CreateFromCode()
END
ACTIVATE DIALOG oDlg CENTERED
RELEASE FONT oFont
return 0
If you still have a problem, please post a simple program to reproduce your problem.