Fwteam - Xbrowse too slow

User avatar
Silvio.Falconi
Posts: 7133
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 1 time

Fwteam - Xbrowse too slow

Post by Silvio.Falconi »

I make a test with a easy Dialog, oBar, and xbrowse but I have also problems

Image

I sent the test to Antonio.

I really don't know how to fix it, and it's not the fault of the colors I've already tried
It's unmanageable, I can't move between records, scroll through scroollbars
the archive consists of only 6500 records, each record has 57 fields
Any suggestions?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
hmpaquito
Posts: 1482
Joined: Thu Oct 30, 2008 2:37 pm

Re: Fwteam - Xbrowse too slow

Post by hmpaquito »

Try on array browse
User avatar
Silvio.Falconi
Posts: 7133
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 1 time

Re: Fwteam - Xbrowse too slow

Post by Silvio.Falconi »

hmpaquito wrote:Try on array browse


the problem if I do the array is that after I will have problems
if I want to insert a record or modify it because I will have to pass from array to dbf and vice versa it is not easy

I thought of showing one year at a time
or n extractions (for example 10,20,30,40 ... up to 500)

practically I have to rewrite the whole program and adapt it to this need
because I do statistical calculations with these numbers and forecasts
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
nageswaragunupudi
Posts: 10721
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Been thanked: 8 times
Contact:

Re: Fwteam - Xbrowse too slow

Post by nageswaragunupudi »

Do not use MARQSTYLE_HIGHLWIN7
Regards

G. N. Rao.
Hyderabad, India
User avatar
Marc Venken
Posts: 1485
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: Fwteam - Xbrowse too slow

Post by Marc Venken »

nageswaragunupudi wrote:Do not use MARQSTYLE_HIGHLWIN7


I did not realyse that some settings can slow down Xbrowse. In my case always dbf's.

Are there more settings to consider turning off ?

What are the best settings (to change) for best speed ?
Marc Venken
Using: FWH 23.08 with Harbour
User avatar
nageswaragunupudi
Posts: 10721
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Been thanked: 8 times
Contact:

Re: Fwteam - Xbrowse too slow

Post by nageswaragunupudi »

Your Lotto.dbf

Code: Select all | Expand

  USE SILVIO\LOTTO VIA "DBFCDX"
   XBROWSER ALIAS() SHOW RECID SETUP ( oBrw:lVThumbTrack := .t. )
 


Image

Xbrowse is NOT SLOW.
You have to know how to write your programs optimally.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
Posts: 10721
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Been thanked: 8 times
Contact:

Re: Fwteam - Xbrowse too slow

Post by nageswaragunupudi »

Code: Select all | Expand

  USE SILVIO\SMORFIA VIA "DBFCDX"
   XBROWSER ALIAS() TITLE "106353 Records" SETUP ( oBrw:lVThumbTrack := .t. )
 


Image
Regards

G. N. Rao.
Hyderabad, India
User avatar
Silvio.Falconi
Posts: 7133
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 1 time

Re: Fwteam - Xbrowse too slow

Post by Silvio.Falconi »

Nages,
I need to insert xbrowse into a dialog not with xbrowser
and I need to make SetGroupHeader and colors
see you mail

Xbrowser is fast I Know it
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
Posts: 7133
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 1 time

Re: Fwteam - Xbrowse too slow

Post by Silvio.Falconi »

nageswaragunupudi wrote:Your Lotto.dbf

Code: Select all | Expand

  USE SILVIO\LOTTO VIA "DBFCDX"
   XBROWSER ALIAS() SHOW RECID SETUP ( oBrw:lVThumbTrack := .t. )
 


Image

Xbrowse is NOT SLOW.
You have to know how to write your programs optimally.


perhaps is my pc I tried the same code
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
nageswaragunupudi
Posts: 10721
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Been thanked: 8 times
Contact:

Re: Fwteam - Xbrowse too slow

Post by nageswaragunupudi »

I need to insert xbrowse into a dialog not with xbrowser


XBROWSER also inserts XBrowse into a Dialog.
What is the difference?
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
Posts: 10721
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Been thanked: 8 times
Contact:

Re: Fwteam - Xbrowse too slow

Post by nageswaragunupudi »

Image
Regards

G. N. Rao.
Hyderabad, India
User avatar
Marc Venken
Posts: 1485
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: Fwteam - Xbrowse too slow

Post by Marc Venken »

Mr. Rao,

Is this with the code from Silvo, or a changed code ?
Marc Venken
Using: FWH 23.08 with Harbour
User avatar
nageswaragunupudi
Posts: 10721
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Been thanked: 8 times
Contact:

Re: Fwteam - Xbrowse too slow

Post by nageswaragunupudi »

His code mainly.

I made only 3 small fixes which have nothing to do with xbrowse.
Regards

G. N. Rao.
Hyderabad, India
User avatar
Silvio.Falconi
Posts: 7133
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 1 time

Re: Fwteam - Xbrowse too slow

Post by Silvio.Falconi »

when I scroll with the horizontal bar towards the end of the record at a certain point it stops,

then when I scroll with the vertical bar it sometimes stops, if I put the bar to point the record and press the cursor keys or page up and page down,

if I press ctrl and the wheel zooms but shortly after it freezes doing nothing and it does these things too

if I enter or not the colors for each column,

even if then maybe it is my computer that is not working well because if I do you say and Nages also told me on the forum now I have some doubts

I'm working on Lenovo Miix320 with 4gb Ram with Win10 Pro
I not know why here is not fast, tomorrow I must test it on another pc
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
Posts: 7133
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 1 time

Re: Fwteam - Xbrowse too slow

Post by Silvio.Falconi »

Marc Venken wrote:Mr. Rao,

Is this with the code from Silvo, or a changed code ?



That was just a minimal example to see to fwteam just the problem I have, not is my original source of my app.
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Post Reply