A possible MULTIBROWSE of one DBF ? ( test incl. )

A possible MULTIBROWSE of one DBF ? ( test incl. )

Postby ukoenig » Sun Aug 25, 2019 12:37 pm

Hello,

it seems there is no working solution. :?:
I think it is a nice solution to create multilanguage tools.
This is a part of the desktop-alarm tool I created.

Once again in short the final solution I need :
4 browser using one DBF

The first browser is showíng only the top record ( english ) as a refrence with header.
The second browser is used for the language selection ( could be used for translation as well )
-- browser 1 should be synchronously to browser 2 ( header-display )
-- it means moving cells and header in browser 1 related to browser 2 movements
The third browser shows the structure and only the fields of record 1 ( english )
The fourth browser is needed for translation with a skipping-option
The fields of browser 3 and 4 should work synchronously

Possible to change the fieldsize if the field is to short

DOWNLOAD ( full test )
http://www.pflegeplus.com/FWH_Downloads/Translate.zip

testing translations

Image

First tests :

maybe possible to complete the exsample with the defined logic

regards Uwe :?:
Last edited by ukoenig on Sat Aug 31, 2019 1:35 pm, edited 1 time in total.
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

Re: A possible MULTIBROWSE of one DBF ? ( test incl. )

Postby James Bott » Mon Aug 26, 2019 4:33 pm

Uwe,

Just open four copies of a database object that uses the DBF you wish. Each copy is independent of the others. This works just like it would on a LAN with multiple users.

oDBF1 := TDatabase():New(,"cFilename")
oDBF1:use()

oDBF2 := TDatabase():New(,"cFilename")
oDBF2:use()

...

Then use oDBF1:bSkip:= {...} to coordinate movements between two browses.

James
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: A possible MULTIBROWSE of one DBF ? ( test incl. )

Postby ukoenig » Sat Aug 31, 2019 1:39 pm

James thank You
now it works in all directions
Just one little problem :
the rows of browser 2 and 3 are drifting apart after a new field selection ( picture 1).
Could it be possible to force them to show the result with the same row-position ( picture 2 ) ?
Still a focus-adjustment is needed in browser 1 ( 3. column = focus on selected field )

Image

regards
Uwe :?:
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


Return to FiveWin for Harbour/xHarbour

Who is online

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