Hi,
As I work, I need to subordinate one xbrowser to another. Is it possible to do this ?
SetParent(oBrw2:hWnd, oBrw1:hWnd)
function ParentChildBrw
field CODE
local oDlg, oChild
USE CUSTOMER NEW SHARED VIA "DBFCDX"
SET ORDER TO TAG STATE
USE STATES NEW SHARED VIA "DBFCDX"
SET RELATION TO CODE INTO CUSTOMER SCOPED
GO TOP
oChild := XBROWSER "CUSTOMER" COLUMNS "STATE","CITY","SALARY" NOMODAL
XBROWSER "STATES" SETUP ( oBrw:bChange := { || oChild:Refresh() } )
return nil
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 99 guests