xBrowse building image-groups (sorted by color)

xBrowse building image-groups (sorted by color)

Postby ukoenig » Wed Jun 16, 2021 11:18 am

Hello,

I created a xBrowse-solution to split a imagebrowser
in colorgroups

maybe something better :?:

images splitted / sorted to groups red, blue and gray
The basic images are selected with celledit to build a structure

Image

changing the structure :
a right mouseclick does a copy
moving to the new cell another right mouseclick will paste the image
the old position is cleard

Image

the copy paste-status is shown at the bottom
You can break the paste simply pressing the copybutton
The red copy-status ( because no paste is done ) will turn to green again

Image

best regards
Uwe :D
Last edited by ukoenig on Mon Jun 28, 2021 8:03 am, 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: xBrowse building image-groups (sorted by color)

Postby Marc Venken » Wed Jun 16, 2021 8:14 pm

I could see a sollution for a small project of mine.

Having a dbf with many fields, and 1 jpg field.
Your solution should be change (setup) with lets say 4 pics on a row.

Then we change all the positions like we want and in the dbf there need to be a field in order to know the sort order.
That way we have a sorting/positioning module for ranking the products.

If posible, i would like to test and see.
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1442
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: xBrowse building image-groups (sorted by color)

Postby ukoenig » Mon Jun 28, 2021 8:03 am

Marc,

Then we change all the positions like we want and in the dbf there need to be a field
in order to know the sort order.
That way we have a sorting/positioning module for ranking the products.


showing the ranking on the right upper corner a solution ?
yellow fields will be only visible with a valid number > 0

how many ranking-positions do You want to show -> top 20 , top 50 ?

Image

regards
Uwe :?:
Last edited by ukoenig on Mon Jun 28, 2021 9:46 am, 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: xBrowse building image-groups (sorted by color)

Postby Marc Venken » Mon Jun 28, 2021 8:15 am

I would say max 50. If there are more they all may become a number of 100, so they stay lower then the 1-50 range.

So if We would only rank the top 15, we do a 1-15 and the rest has a higher number, so they go below the tot 15 sorted

It is used for sorting my webshop products in the offline version. then I upload them.
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1442
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: xBrowse building image-groups (sorted by color)

Postby ukoenig » Mon Jun 28, 2021 9:47 am

Marc,
do You know if it is possible to build the following xBrowse without using a array.
I couldn*t find any tests.
Using only 1 DBF-imagefield ---> 4 records on 4 columns must be displayed in in each row
It means a new row ( break ) after 4 records

Image

My solution for the moment : 5 DBF-imagefields displayed in 5 columns

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

Re: xBrowse building image-groups (sorted by color)

Postby Marc Venken » Mon Jun 28, 2021 11:00 am

I use a temp dbf and create the picture fields that I need. The way you do it also i think.

Mr. Rao made a sample with a Xbrowse gallery... Maybe there ?
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1442
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 35 guests