Hi Guys,
Inspired by the great job RandomCoder has done in his soon to be published ColorPicker, and being I in the need of something somewhat simpler, I did some research, tapped a few code lines and got myself a shinny new 140 Named Colors ColorPicker.
Here are the Properties/Methods
cgColorPicker v1.0
Events:
This Library is DonationWare, witch means that you can download it, and test it as much as you want, but in order to use it in a real application you must first donate. After donating, you should PM me in order to receive a Licenced version of the Library.
I just revisited this LIB and polished it a bit.
Inspired by the great job RandomCoder has done in his soon to be published ColorPicker, and being I in the need of something somewhat simpler, I did some research, tapped a few code lines and got myself a shinny new 140 Named Colors ColorPicker.
Here are the Properties/Methods
cgColorPicker v1.0
Events:
- ColorChanged (value As Int)
- Initialize (Owner As Object, EventName As String)
Initializes the object.
Owner is the calling Module
EventName is the sub name that will handle the ColorChanged event
- IsInitialized As Boolean
Tests whether the object has been initialized.
- AddToParent (Parent As PanelWrapper, Left As Int, Top As Int)
Adds the view to a Parent, and sets Left and Top values
Should be used to add the ColorPicker in code
- DesignerCreateView (Base As Panel, Lbl As Label, Props As Map)
Used to add the ColorPicker via Visual Designer
Should not be used in normal code
- AboutThisLibrary As String
Returns an About String with some extra Info about the Library
- BackgroundColor As Int
Sets the Background color (Write only)
- License As String
Returns Licensing info as a String.
- Left As Int
Sets or Gets the Left property
- Top As Int
Sets or Gets the Top property
- Visible As Boolean
Sets or Gets the visibility of the view
This Library is DonationWare, witch means that you can download it, and test it as much as you want, but in order to use it in a real application you must first donate. After donating, you should PM me in order to receive a Licenced version of the Library.
I just revisited this LIB and polished it a bit.
Attachments
Last edited: