Guys:
When the following code is executed and the user types a value for an incremental search, the highlighted row remains the first one and not the one that has been found although the triangle to the left points to the correct record. Any clues on how to highlight the correct record ? Thank you.
When the following code is executed and the user types a value for an incremental search, the highlighted row remains the first one and not the one that has been found although the triangle to the left points to the correct record. Any clues on how to highlight the correct record ? Thank you.
@ 10,10 XBROWSE oBrw OF oDlg;
SIZE 205,223 PIXEL ;
HEADERS { "", "Window Title" } ;
ARRAY acArray AUTOCOLS AUTOSORT
@ 250,10 SAY oBrw:oSeek PROMPT oBrw:cSeek SIZE 205,10 PIXEL OF oDlg ;
COLOR CLR_BLACK, CLR_YELLOW
SETKEY(VK_RETURN, {|| cVal := acArray[oBrw:nRowSel,1], oDlg:End()})
oBrw:bClrSel := {|| {CLR_CYAN, CLR_GREEN}}
WITH OBJECT oBrw
:bClrSelFocus := { || { CLR_WHITE, CLR_GREEN } }
:nHeadStrAligns := AL_CENTER
:nStretchCol := STRETCHCOL_WIDEST
:nMarqueeStyle := MARQSTYLE_HIGHLROWMS
:aCols[1]:lHide := .T.
:lAllowSizings := .F.
:aCols[2]:SetOrder()
END