Please, open the same table (with different alias) in both browses. Then put, in both dialogs, a button in the buttonbar with this action
ACTION MSGINFO( FIELD -> first )
From which workarea (1 or 2) it will read the field value?
EMG
#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oWnd
DEFINE WINDOW oWnd
DEFINE BUTTONBAR SIZE 80, 40 OF oWnd 2007
DEFINE BUTTON;
OF oWnd:oBar;
PROMPT "New TAB" CENTER;
ACTION CREATEBRW()
ACTIVATE WINDOW oWnd
RETURN NIL
STATIC FUNCTION CREATEBRW()
LOCAL oDlg, oBrw
USE CUSTOMER ALIAS ( CGETNEWALIAS() ) SHARED
DEFINE DIALOG oDlg
@ 0, 0 XBROWSE oBrw ALIAS ALIAS()
oBrw:CreateFromCode()
ACTIVATE DIALOG oDlg;
ON INIT oBrw:AdjClient();
VALID ( DBCLOSEAREA( oBrw:cAlias ), .T. );
NOMODAL
RETURN NIL
USE CUSTOMER NEW ALIAS ( CGETNEWALIAS() ) SHARED
Enrico Maria Giordano wrote:Sorry, it's not my decision.
EMG
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 34 guests