( CONTRIBUTION ) PickColor with sources for your Systems

( CONTRIBUTION ) PickColor with sources for your Systems

Postby cuatecatl82 » Sat Jul 25, 2015 6:04 pm

Greetings Fellow Forum :

I share the work I 've done in this week sometime hopefully will be useful, I still have a function to finish and I hope to help everyone we can be 100 % functional.

Image

It is a generator of colors in RGB , you can create random colors based on a specific range , capture color palettes and stored in a table.

I lack the most important and can not find how to do it , capture the color of a pixel out of our application :

Image

Teacher Antonio and fellow forum : turn to you to guide me how to do this function , leave the Exe and sources to try it and I discuss Greetings ...

http://www.mediafire.com/download/5x6bjrrr98du15z/ColorPick.zip
Last edited by cuatecatl82 on Sat Jul 25, 2015 9:06 pm, edited 1 time in total.
Soluciones y Diseño de Software
Damos Soluciones...

I.S.C. Victor Daniel Cuatecatl Leon
Director y Diseñador de Proyectos

http://www.soldisoft.unlugar.com
http://www.sisa.unlugar.com
danyleon82@hotmail.com
www.facebook.com/victordaniel.cuatecatlleon
User avatar
cuatecatl82
 
Posts: 625
Joined: Wed Mar 14, 2007 6:49 pm
Location: San Cristobal de las Casas, Chiapas México

Re: ( CONTRIBUTION ) PickColor with sources for your Systems

Postby Antonio Linares » Sat Jul 25, 2015 6:56 pm

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42127
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: ( CONTRIBUTION ) PickColor with sources for your Systems

Postby ukoenig » Sun Jul 26, 2015 5:14 pm

I lack the most important and can not find how to do it ,
capture the color of a pixel out of our application :


I created the DESKTOP-solution You are looking for with ZOOM-factor ( still some extensions will be added )
I can add this extension to my RGB-tools as well.

Image

best regards
Uwe :)
Last edited by ukoenig on Sun Jul 26, 2015 5:26 pm, edited 2 times 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: ( CONTRIBUTION ) PickColor with sources for your Systems

Postby Antonio Linares » Sun Jul 26, 2015 5:19 pm

Uwe,

Here you have an example (how to manage the mouse):

viewtopic.php?p=179960#p179960
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42127
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: ( CONTRIBUTION ) PickColor with sources for your Systems

Postby ukoenig » Sun Jul 26, 2015 6:34 pm

Antonio,

thank You very much.

the 1. release for testing
Just load and move the cursor over the desktop
Still the SAVING and 3 bachground-selection--buttons must be added.

Image

http://www.pflegeplus.com/DOWNLOADS/RGBCol3.zip

best regards
Uwe :)
Last edited by ukoenig on Sun Jul 26, 2015 7:52 pm, 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: ( CONTRIBUTION ) PickColor with sources for your Systems

Postby cuatecatl82 » Sun Jul 26, 2015 7:00 pm

Uwe:

This is exactly what is needed simply great, but I wonder..?? Because they do not share the examples with source code, without wishing to offend anyone i am of the idea that selfishness in this forum should not be present and share what you know, I hope it is not much we compartar the source code.

Greetings
Soluciones y Diseño de Software
Damos Soluciones...

I.S.C. Victor Daniel Cuatecatl Leon
Director y Diseñador de Proyectos

http://www.soldisoft.unlugar.com
http://www.sisa.unlugar.com
danyleon82@hotmail.com
www.facebook.com/victordaniel.cuatecatlleon
User avatar
cuatecatl82
 
Posts: 625
Joined: Wed Mar 14, 2007 6:49 pm
Location: San Cristobal de las Casas, Chiapas México

Re: ( CONTRIBUTION ) PickColor with sources for your Systems

Postby ukoenig » Sun Jul 26, 2015 7:18 pm

cuatecatl82,

because it is not finished, I just added the exe.
The final release will be complete with source.

Because we want to save the values, we cannot move back to a save-button ( it will change the values )
instead we have to use :

oWnd:bKeyDown := {|nKey| if(nKey = 32, SAVE_COL(),) } // SPACE

Do You want to save the values to CLIPBOARD or to a DBF-record ?

best regards
uwe :)
Last edited by ukoenig on Mon Jul 27, 2015 8:45 am, edited 5 times 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: ( CONTRIBUTION ) PickColor with sources for your Systems

Postby cuatecatl82 » Sun Jul 26, 2015 7:46 pm

Thank you very much mr Uwe hopefully soon be available
Soluciones y Diseño de Software
Damos Soluciones...

I.S.C. Victor Daniel Cuatecatl Leon
Director y Diseñador de Proyectos

http://www.soldisoft.unlugar.com
http://www.sisa.unlugar.com
danyleon82@hotmail.com
www.facebook.com/victordaniel.cuatecatlleon
User avatar
cuatecatl82
 
Posts: 625
Joined: Wed Mar 14, 2007 6:49 pm
Location: San Cristobal de las Casas, Chiapas México

Re: ( CONTRIBUTION ) PickColor with sources for your Systems

Postby ukoenig » Wed Jul 29, 2015 3:54 pm

cuatecatl82,

You can send me a eMail and I will return a download-link with the included source

Download ( Standalone-exe-file )
http://www.pflegeplus.com/Downloads/CPicker1.zip

I added the missing options

5. zoom-factors
config-button
copy to clipboard multiple selections


Image

a projectfile
because of EDIT-cells, You can define the project
or copy the needed colors RGB or numeric.
To manage the Project-file, delete, undelete and pack is added.
The 1. record is protected and includes the system-settings.
A multiline-get with the multiple color-captions
can be copied to clipboars


Image

You can define many settings
select color, gradient or a BMP-brush
gradient-painter included
the text-color-define
BMP-brush-selection
the xBrowse row-colors
the key to capture the colors


Image
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: ( CONTRIBUTION ) PickColor with sources for your Systems

Postby cuatecatl82 » Thu Jul 30, 2015 12:32 pm

Many thanks Uwe my email is danyleon82@hotmail.com

Greetings
Soluciones y Diseño de Software
Damos Soluciones...

I.S.C. Victor Daniel Cuatecatl Leon
Director y Diseñador de Proyectos

http://www.soldisoft.unlugar.com
http://www.sisa.unlugar.com
danyleon82@hotmail.com
www.facebook.com/victordaniel.cuatecatlleon
User avatar
cuatecatl82
 
Posts: 625
Joined: Wed Mar 14, 2007 6:49 pm
Location: San Cristobal de las Casas, Chiapas México

Re: ( CONTRIBUTION ) PickColor with sources for your Systems

Postby ukoenig » Sat Aug 01, 2015 1:35 pm

Daniel,

Have a look at :

viewtopic.php?f=3&t=31155&p=180185#p180185

maybe it is useful for You, adding these functions to Your main-app.
added functions < AUTOCLOSE > and < BRING ON TOP > for the color-picker.

best 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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 51 guests