FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour A Colorpicker and RGB-tools
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: A Colorpicker and RGB-tools
Posted: Sun Dec 10, 2017 02:06 PM
Marc,

with this first idea You can collect colors from different images
The 10 fixed colors are replaced with a browser

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.
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Re: A Colorpicker and RGB-tools
Posted: Sun Dec 10, 2017 02:54 PM

Maybe you can also drag and drop images into the project?

Marc Venken

Using: FWH 23.08 with Harbour
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: A Colorpicker and RGB-tools
Posted: Sun Dec 10, 2017 05:03 PM
The first tests adding colors from different sets to a project.

With the replaced radios a project is not limited to 10 like before ( browser with color preview )
Project < Test 1 > uses colors from different charts or photos.
The button < New > adds a new record using the project-name of the selected row.
Clicking inside the image, the name of the chart is added together with the colorvalue.
The button < Pack > is used for both dbf's
You can copy the color-values from the new browser ( edit cells ).
The image of the colorset keeps the aspect ratio.
I added a colorcounter to the project ( index on project + number )
Now You can define the order how to show the colors.
Export to EXCEL needed :-)

At the end I will define a language-file :-)

Download

http://www.pflegeplus.com/DOWNLOAD/Colorpick6.zip



regrds
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.
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Re: A Colorpicker and RGB-tools
Posted: Sun Dec 10, 2017 07:34 PM

Almost done !! Great.

There is a error on saving :

Error description: Error DBFCDX/1020 Data type error: VALRGB2

Stack Calls

Called from: .\RGB.PRG => SAVE_CGRP( 1498 )
Called from: .\RGB.PRG => (b)FROM_BMP( 980 )

And how to get a new file fast into the dialog ? Drag and drop ?

Is it possible that the colorpicker can get the values anywhere on the screen en not just in the second dialog ?

Marc Venken

Using: FWH 23.08 with Harbour
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: A Colorpicker and RGB-tools
Posted: Sun Dec 10, 2017 08:21 PM

Marc,

The button < save to project > belongs to the old fixed 10 color solution.
I deleted this option as well the 10 colorpage from the setup-section.
Sure we can save a color from the desktop ( not only from dialog two )
Maybe a switch is needed ( select from dialog or from desktop )
As well a resizebutton will be added to dialog two that only the small
projectbrowser will be visible together with the small colorpicker dialog.

regards
Uwe :D

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.
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: A Colorpicker and RGB-tools
Posted: Tue Dec 12, 2017 02:29 PM
Many new functions added.

There is a new autosave-option.
How it works :
Select a startposition from inside the projectbrowser
The hotkey will do a autoappend saving the projectname + the selected numer + 1 and the colorvalues.
No need to add a new record before selecting a new color.
A xbrowse seekfield is added ( index on projectname + number ).
With the radios, You can do a quick resize of the project-dialog ( same like the color-picker ).

Download

http://www.pflegeplus.com/DOWNLOAD/Colorpick6.zip

usage from inside a image-browser ( xNView )
With xNView You can define the thumbnail-size before starting to pick colors.



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.
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: A Colorpicker and RGB-tools
Posted: Wed Dec 13, 2017 08:57 PM
Changed the project-section to collect colors.
Now there is a better overview ( 19 colors ).
To save space, You can select the browser-column -> Dec, RGB or Hex

Download

http://www.pflegeplus.com/DOWNLOAD/Colorpick6.zip



I'm still testing the relation between the project-browser and the color-collector
There is a index on < project + object + number >
The project-name will be the company-name and the project-image could be a logo.
The colorlist will show the different object-names with a running number the color and the value.



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.
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: A Colorpicker and RGB-tools
Posted: Thu Dec 14, 2017 02:02 PM
Added the projectfilter to the browser

Download

http://www.pflegeplus.com/DOWNLOAD/Colorpick6.zip



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.
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Re: A Colorpicker and RGB-tools
Posted: Thu Dec 14, 2017 02:22 PM

Very nice work.

Will try it out.

Marc Venken

Using: FWH 23.08 with Harbour

Continue the discussion