Hi,
As I work, I need to subordinate one xbrowser to another. Is it possible to do this ?
Subordinate browsers
- nageswaragunupudi
- Posts: 10691
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: Subordinate browsers
Please clarify.
You mean linked browses?
You mean linked browses?
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
Re: Subordinate browsers
Perhaps subordinate browses is a style of linked browse where browse number one shows parents and browse number two shows childs each parent
Re: Subordinate browsers
There are 2 xBrowse - oBrw1 and oBrw2. I need to nest oBrw2 into oBrw1.
I.e. I wanted to make a tree of nested xBrowse controls
However, nothing is working out
Code: Select all | Expand
SetParent(oBrw2:hWnd, oBrw1:hWnd)
However, nothing is working out
- nageswaragunupudi
- Posts: 10691
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: Subordinate browsers
Something like this?
If so it can be customized for your exact needs.
code:
If so it can be customized for your exact needs.
code:
Code: Select all | Expand
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
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
Re: Subordinate browsers
Yeah, it looks like it.