Search found 27 matches: fighting

Return to advanced search

Re: Fighting Xbrowse and lozing !!!

If the average file size is 192 KB and accessing over network, it does make sense to create thumbnails. I am also testing with different file sizes. Once we create thumbnails, I am sure the performance will be very good. Because our program reads an image only once from the disk and any subsequent p...
by nageswaragunupudi
Sat Dec 31, 2022 9:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fighting Xbrowse and lozing !!!
Replies: 18
Views: 1666

Re: Fighting Xbrowse and lozing !!!

Thanks... and happy new year to you also. Pictures Average : 192.000 k But there is no need that I have large pics for browsing. Therefore it will be easy to convert to very small with xnview to a point that is ok for the browse and browse from that folder. If the browse is 150 x 150 and 72 dpi, the...
by Marc Venken
Sat Dec 31, 2022 4:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fighting Xbrowse and lozing !!!
Replies: 18
Views: 1666

Re: Fighting Xbrowse and lozing !!!

Happy New Year

I will answer all your points.
Meanwhile can you please give me an idea of average size of your image files?
by nageswaragunupudi
Sat Dec 31, 2022 3:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fighting Xbrowse and lozing !!!
Replies: 18
Views: 1666

Re: Fighting Xbrowse and lozing !!!

Thank you Mr. Rao, I tested and noticed folowing : I best make a tumbnail folder with all my images in the smallest size possible (with xnvieuw convert) This will speed up reading and browsing for sure. You use :lVThumbTrack := .t. Looked into the class, but for me not clear what it will do I need t...
by Marc Venken
Fri Dec 30, 2022 12:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fighting Xbrowse and lozing !!!
Replies: 18
Views: 1666

Re: Fighting Xbrowse and lozing !!!

With the existing code, painting or repainting of any image cell involves reading an image file from the disk, which consumes time. We have 12 image cells in each row. When full browse is refreshed, ( number of visible rows + 1 ) * 12 times the image files are read from the disk. Even repainting of ...
by nageswaragunupudi
Fri Dec 30, 2022 8:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fighting Xbrowse and lozing !!!
Replies: 18
Views: 1666

Re: Fighting Xbrowse and lozing !!!

Files are send... Thanks for the effort !
by Marc Venken
Sat Dec 24, 2022 5:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fighting Xbrowse and lozing !!!
Replies: 18
Views: 1666

Re: Fighting Xbrowse and lozing !!!

We need to highly optimize image painting logic in the cells.
I will try to make a sample for you.

It will help me very much if you can share your dbf with me.
my email:
nageswaragunupudi [at] gmail [dot] com.
I don't need images. I will substitute with some images that are with me here
by nageswaragunupudi
Sat Dec 24, 2022 12:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fighting Xbrowse and lozing !!!
Replies: 18
Views: 1666

Re: Fighting Xbrowse and lozing !!!

For example, remove oBrw:lColChangeNotify := .t. What is the need for it? I put it in by reading one of the topics here. Have to check wich one. I suppose that was at a time that I wanted to have a automatic saving system (when something changes in any column of the browse, it will call a function ...
by Marc Venken
Fri Dec 23, 2022 9:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fighting Xbrowse and lozing !!!
Replies: 18
Views: 1666

Re: Fighting Xbrowse and lozing !!!

There are 2.001 records in de dbf. Indeed, The less code (options) the faster Xbrowse will be.... But you made Xbrowse so powerfull that we can pimp it to have a nice looking tool. Thanks for that. It will be the goal to program it and keep speed/looks in the middle. Therefore I have put a selection...
by Marc Venken
Fri Dec 23, 2022 9:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fighting Xbrowse and lozing !!!
Replies: 18
Views: 1666

Re: Fighting Xbrowse and lozing !!!

How many records you have in the DBF. Please let me know. Most of the times, you get better results if you keep the code to the least number of lines and do not change the xbrowse defaults. For example, remove oBrw:lColChangeNotify := .t. What is the need for it? Change the default settings only whe...
by nageswaragunupudi
Fri Dec 23, 2022 8:01 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fighting Xbrowse and lozing !!!
Replies: 18
Views: 1666

Re: Fighting Xbrowse and lozing !!!

This is the browse system that I use : Generate a browse with 1 line of code oBrw[10] = getXBrowser("WEBSHOP_KLEUREN",oFld:aDialogs[FOL_WEBSHOP_KLEUREN])   //  Code above this line is retrieving xbrowse data fields etc... from DBF   @ nTop,nLeft XBROWSE oBrw size nBreed...
by Marc Venken
Thu Dec 22, 2022 11:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fighting Xbrowse and lozing !!!
Replies: 18
Views: 1666

Re: Fighting Xbrowse and lozing !!!

I also noticed that just clicking the arrow to right, it processes the debug function 65 times and hitting the arrow to go left just 13 times ??? while I would think that just moving to a cell, the debug would not be called once. Commenting this code out, from the point of lCheck... (Lcheck is for p...
by Marc Venken
Thu Dec 22, 2022 10:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fighting Xbrowse and lozing !!!
Replies: 18
Views: 1666

Re: Fighting Xbrowse and lozing !!!

Hey Rolando, Tried it, but no changes. It seems also that lTransparent = .f. by default. It however gave me the idea to look at the settings : and see if that make any changes. Static Function StyleBrowse( oBrwSel, aBarget, aEditget, cNaam )   LOCAL hBmp    := ReadBitmap( 0, "bitmap...
by Marc Venken
Thu Dec 22, 2022 10:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fighting Xbrowse and lozing !!!
Replies: 18
Views: 1666

Re: Fighting Xbrowse and lozing !!!

Hola Marc,

Tube un problema similar en mi programa.

Despues de revisar vi que era por que estaba habilitada la transparencia en el Browse

Prueba esto
Code: Select all  Expand view

   oBrw:lTransparent := .F.
 


Saludos,
Rolando
by RSalazarU
Thu Dec 22, 2022 3:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fighting Xbrowse and lozing !!!
Replies: 18
Views: 1666

Re: Fighting Xbrowse and lozing !!!

Hi Marc, You are right. Mr. Rao is the one who could perhaps introduce some xBrowse templates about the most common cases of our daily work? :wink: I'd be glad for this because I'm often unsure about the xBrowse internals concerning refreshing and updating the display of data values. Regards, Detlef
by Detlef
Thu Dec 22, 2022 10:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fighting Xbrowse and lozing !!!
Replies: 18
Views: 1666
Next

Return to advanced search