Refresh a Browse With A New Pointer
Posted: Sat Jan 14, 2012 8:07 am
I am trying to change the Pointer variable outside of a DCBROWSE and then refresh the Browse to show the new Pointer position. The code below doesn't do it. Could someone please show me the proper way to do this? Thanks.
nItem := 1
@ 1,1 DCBROWSE oBrowse DATA aBrowse POINTER nItem
DCBROWSECOL ELEMENT 1 PARENT oBrowse HEADER "abc"
@ 10,10 DCPUSHBUTTON CAPTION "Search" SIZE 10,1 ;
ACTION {|| nItem := DoSearch(aBrowse) ;
, DC_GetRefresh(getlist) }
nItem := 1
@ 1,1 DCBROWSE oBrowse DATA aBrowse POINTER nItem
DCBROWSECOL ELEMENT 1 PARENT oBrowse HEADER "abc"
@ 10,10 DCPUSHBUTTON CAPTION "Search" SIZE 10,1 ;
ACTION {|| nItem := DoSearch(aBrowse) ;
, DC_GetRefresh(getlist) }