xBrowse in 2 windows

Post Reply
User avatar
Eugeniusz Owsiak
Posts: 60
Joined: Fri Oct 07, 2005 5:38 am
Location: Poland

xBrowse in 2 windows

Post 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
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

2 Browsers for xBrowse in Relation

Post 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:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Eugeniusz,

Please review fwh\samples\gallery\onemany\*
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: xBrowse in 2 windows

Post 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.) }

Regards

G. N. Rao.
Hyderabad, India
Post Reply