Page 1 of 1

xBrowse in 2 windows

Posted: Mon Feb 18, 2008 10:53 am
by Eugeniusz Owsiak
I have a small problem in displaing info from two dbf.files with relation.

1. In first main window i want to display list of simple information from 1-st base, second should contain filtered info from second base. By move in master window the list in detail must be refreshed.

2. Can I do this with MDI Window structure or in Dialog?

regards Eugeniusz

2 Browsers for xBrowse in Relation

Posted: Mon Feb 18, 2008 11:15 am
by ukoenig
Hello Eugeniusz

to use 2 Browsers in relation is possible
in both, a window or dialog.
I will do a sample in the DB-Tools.
It will have a vertical splitter as well,
so you can resize a browser.
I hope, it is not to urgent, so you can
get the source how to handle it.

Greetings
Uwe :lol:

Posted: Mon Feb 18, 2008 11:25 am
by Antonio Linares
Eugeniusz,

Please review fwh\samples\gallery\onemany\*

Re: xBrowse in 2 windows

Posted: Mon Feb 18, 2008 1:17 pm
by nageswaragunupudi
Eugeniusz Owsiak wrote:I have a small problem in displaing info from two dbf.files with relation.

1. In first main window i want to display list of simple information from 1-st base, second should contain filtered info from second base. By move in master window the list in detail must be refreshed.

2. Can I do this with MDI Window structure or in Dialog?

regards Eugeniusz
You can do this either in MDI window or in Dialog.
Sample code for Dialog

Code: Select all

@ 10,10 XBROWSE oBrw1 FIELDS .. HEADERS .... SIZE 400,300 PIXEL OF oDlg ALIAS master

@ 320,10 XBROWSE oBrw2 FIELDS ......... SIZE 400,300 PIXEL OF oDlg ALIAS child

oBrw1:bChange := { || RefilerChild(), oBrw2:Refresh(.t.) }