From ad30a2e5e2bbe11908a78e7731ed5d2d8c55c9b9 Mon Sep 17 00:00:00 2001 From: "ctrlaltca@gmail.com" <> Date: Wed, 1 Jun 2011 19:49:56 +0000 Subject: added documentation for TColorPicker class --- .../protected/pages/Controls/ColorPicker.page | 29 +++++++++++++++-- .../pages/Controls/Samples/TColorPicker/Home.page | 37 ++++++++++++++++++++++ .../protected/pages/Controls/Standard.page | 2 +- 3 files changed, 65 insertions(+), 3 deletions(-) create mode 100644 demos/quickstart/protected/pages/Controls/Samples/TColorPicker/Home.page (limited to 'demos/quickstart/protected/pages/Controls') diff --git a/demos/quickstart/protected/pages/Controls/ColorPicker.page b/demos/quickstart/protected/pages/Controls/ColorPicker.page index cc931840..57c39857 100644 --- a/demos/quickstart/protected/pages/Controls/ColorPicker.page +++ b/demos/quickstart/protected/pages/Controls/ColorPicker.page @@ -3,8 +3,33 @@
-TBD +
+TColorPicker displays a text box for color input purpose.
+Next to the textbox there's a button filled with the current chosen color.
+Users can write a color name directly in the text box as an hex triplet (also known as HTML notation, eg: #FF00FF).
+
Alternatively, if the ShowColorPicker property is enabled (it is by default), users can click the button
+to have a color picker UI appear. A color chan be chosen directly by clicking on the color picker.
+TColorPicker has three different color picker UI Modes:
+The CssClass property can be used to override the CSS class name +for the color picker panel. The ColorStyle property changes the overall color picker style. +The following ColorStyle values are available:
+If the Mode property is set to Full, the color picker panel will +display an "Ok" and "Cancel" buttons. You can customize the button labels setting the OKButtonText +and CancelButtonText properties.
+ +Default TColorPicker, Mode="Basic" | +
+ |
+
Mode="Simple" pre-selected red color |
+
+ |
+
Mode="Full" | +
+ |
+
Disabled color picker panel: ShowColorPicker="false" | +
+ |
+