xBrowse in 2 windows

xBrowse in 2 windows

Postby Eugeniusz Owsiak » 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
User avatar
Eugeniusz Owsiak
 
Posts: 60
Joined: Fri Oct 07, 2005 5:38 am
Location: Poland

2 Browsers for xBrowse in Relation

Postby ukoenig » 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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Postby Antonio Linares » Mon Feb 18, 2008 11:25 am

Eugeniusz,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42107
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: xBrowse in 2 windows

Postby nageswaragunupudi » Mon Feb 18, 2008 1: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
Code: Select all  Expand view  RUN
@ 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
User avatar
nageswaragunupudi
 
Posts: 10643
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 66 guests