In this sample, try to press the down arrow and then ESC. The new dialog doesn't keep the position of the selected row but moves it to the top.
Is there a way to keep the selected row position?
EMG
Is there a way to keep the selected row position?
#include "Fivewin.ch"
FUNCTION MAIN()
USE CUSTOMER
TEST()
TEST()
RETURN NIL
STATIC FUNCTION TEST()
LOCAL oDlg, oBrw
DEFINE DIALOG oDlg;
SIZE 800, 600
@ 0, 0 XBROWSE oBrw
oBrw:CreateFromCode()
ACTIVATE DIALOG oDlg;
ON INIT oDlg:SetControl( oBrw );
CENTER
RETURN NILEMG