B balta Member Sep 13, 2022 #1 Hello, Anyone knows as OCX for a ColorPicker? Something like this. Thanks OE11.6.4 Windows
JamesBowen 19+ years progress programming and still learning. Sep 14, 2022 #4 I've attached an ABL .w example program of calling the windows winform color dialog. Is this what you are looking for Or did you want to embed the colour picker into a .w? Attachments wColourPicker.zip wColourPicker.zip 2.9 KB · Views: 22
I've attached an ABL .w example program of calling the windows winform color dialog. Is this what you are looking for Or did you want to embed the colour picker into a .w?
J Jean-Christophe Cardot Member Nov 30, 2022 #6 Thanks indeed Very interesting! Let me share my findings also: if you want to set / open the colour picker with a particular colour, do: DEFINE VARIABLE oColor AS System.Drawing.Color. oColor = System.Drawing.Color:fromArgb(255, 0, 0). /* R, G, B values */ colorDialog1:color = oColor. before the line: colorDialog1:FullOpen = TRUE. and your colour picker will open on your desired colour.
Thanks indeed Very interesting! Let me share my findings also: if you want to set / open the colour picker with a particular colour, do: DEFINE VARIABLE oColor AS System.Drawing.Color. oColor = System.Drawing.Color:fromArgb(255, 0, 0). /* R, G, B values */ colorDialog1:color = oColor. before the line: colorDialog1:FullOpen = TRUE. and your colour picker will open on your desired colour.