Fwteam - Xbrowse too slow

Fwteam - Xbrowse too slow

Postby Silvio.Falconi » Wed Apr 13, 2022 10:02 am

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
User avatar
Silvio.Falconi
 
Posts: 6768
Joined: Thu Oct 18, 2012 7:17 pm

Re: Fwteam - Xbrowse too slow

Postby hmpaquito » Wed Apr 13, 2022 10:25 am

Try on array browse
hmpaquito
 
Posts: 1482
Joined: Thu Oct 30, 2008 2:37 pm

Re: Fwteam - Xbrowse too slow

Postby Silvio.Falconi » Wed Apr 13, 2022 10:45 am

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
Silvio.Falconi
 
Posts: 6768
Joined: Thu Oct 18, 2012 7:17 pm

Re: Fwteam - Xbrowse too slow

Postby nageswaragunupudi » Wed Apr 13, 2022 11:13 am

Do not use MARQSTYLE_HIGHLWIN7
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10248
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Fwteam - Xbrowse too slow

Postby Marc Venken » Wed Apr 13, 2022 11:18 am

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.04 with Harbour
User avatar
Marc Venken
 
Posts: 1343
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: Fwteam - Xbrowse too slow

Postby nageswaragunupudi » Wed Apr 13, 2022 11:28 am

Your Lotto.dbf

Code: Select all  Expand view
  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: 10248
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Fwteam - Xbrowse too slow

Postby nageswaragunupudi » Wed Apr 13, 2022 11:45 am

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


Image
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10248
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Fwteam - Xbrowse too slow

Postby Silvio.Falconi » Wed Apr 13, 2022 11:49 am

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: 6768
Joined: Thu Oct 18, 2012 7:17 pm

Re: Fwteam - Xbrowse too slow

Postby Silvio.Falconi » Wed Apr 13, 2022 11:58 am

nageswaragunupudi wrote:Your Lotto.dbf

Code: Select all  Expand view
  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
Silvio.Falconi
 
Posts: 6768
Joined: Thu Oct 18, 2012 7:17 pm

Re: Fwteam - Xbrowse too slow

Postby nageswaragunupudi » Wed Apr 13, 2022 2:52 pm

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: 10248
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Fwteam - Xbrowse too slow

Postby nageswaragunupudi » Wed Apr 13, 2022 3:34 pm

Image
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10248
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Fwteam - Xbrowse too slow

Postby Marc Venken » Wed Apr 13, 2022 5:22 pm

Mr. Rao,

Is this with the code from Silvo, or a changed code ?
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1343
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: Fwteam - Xbrowse too slow

Postby nageswaragunupudi » Wed Apr 13, 2022 5:29 pm

His code mainly.

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

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10248
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Fwteam - Xbrowse too slow

Postby Silvio.Falconi » Wed Apr 13, 2022 5:53 pm

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: 6768
Joined: Thu Oct 18, 2012 7:17 pm

Re: Fwteam - Xbrowse too slow

Postby Silvio.Falconi » Thu Apr 14, 2022 6:04 am

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
User avatar
Silvio.Falconi
 
Posts: 6768
Joined: Thu Oct 18, 2012 7:17 pm

Next

Return to FiveWin for Harbour/xHarbour

Who is online

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