FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour a get with color space
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
a get with color space
Posted: Fri May 08, 2015 08:41 AM
I need insert on a dialog a small box to select colors but I tried with some classes and it not run ok

@ 108,5 SAY "Colore1 :" SIZE 30, 10 PIXEL OF o:aDialogs[2]
@ 108,70 SAY "Colore2 :" SIZE 30, 10 PIXEL OF o:aDialogs[2]

@ 108, 30 GET o:aColor[1] VAR o:cColor1 OF o:aDialogs[2] SIZE 20, 10 PIXEL COLOR o:cColor1,o:cColor1 READONLY
@ 108, 90 GET o:aColor[2] VAR o:cColor2 OF o:aDialogs[2] SIZE 20, 10 PIXEL COLOR o:cColor2,o:cColor2 READONLY

@ 108, 55 BUTTON oBtnSel[1] PROMPT ".." SIZE 10, 10 PIXEL ;
OF o:aDialogs[2] ACTION....


how I can resolve ?
I need make the box with colors user selected and then it must be update
any solution ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 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
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: a get with color space
Posted: Fri May 08, 2015 12:12 PM
Silvio,

this solution is used inside the RGB-tools.

for user-selection i use a image, pick a color
and fill a defined area.

is that the solution You are looking for ?
I can add a sample.



best 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.

Continue the discussion