FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour xBrowse in 2 windows
Posts: 60
Joined: Fri Oct 07, 2005 05:38 AM
xBrowse in 2 windows
Posted: Mon Feb 18, 2008 10:53 AM

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

Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
2 Browsers for xBrowse in Relation
Posted: Mon Feb 18, 2008 11:15 AM

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.
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
xBrowse in 2 windows
Posted: Mon Feb 18, 2008 11:25 AM

Eugeniusz,

Please review fwh\samples\gallery\onemany*

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: xBrowse in 2 windows
Posted: Mon Feb 18, 2008 01:17 PM
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
@ 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

Continue the discussion