MFColorPicker Component Help
Overview Installation Properties Methods Events Terms of Use and Registration
Overview |
TColorPicker is a TPanel descendant that contains several sub-components allowing the user to implement a multifunction color selector that would be primarily useful for graphics applications, but could be adapted to other uses as well. Inside the panel are two panels, a color panel containing a spectrum of colors and a color grid representing a 16 color palette, from which the user can select a color for use in the application. There is also another panel, the currently selected color panel, whose color changes when the mouse moves over the colors in the color panel. Two other panels, the Primary Color Panel, and the Secondary Color Panel, can be used to represent brush colors in an application ( for example). The Primary Color Panel color can be set by calling the appropriate method, or is set automatically when the user left clicks on either the color panel or the color grid. Likewise, the Secondary Color Panel color can be set by code, or can be set by the user right-mouse clicking on the Color Panel. If the use right clicks on the Color Grid, the color cell selected is set to the color of the Primary Color Panel. There are also two buttons, the Save Palette Button and the Load Palette Button, which, when pressed fire events wherein the programmer can call built-in methods to save or restore the colors in the color grid, thus allowing for the creation, storage and use of customized palettes. |
Installation |
Put the MFColorPicker .pas, MFColorPicker.res and MFColorPicker.dcr files in a directory in your library path then select MFColorPicker.pas using the Component/Install Component Menu Selection in the IDE. |
Properties | ||||
|
Methods | ||||||||||
|
Events | ||||||||||
|
Terms of Use and Registration |
This component is shareware not
freeware. If you decide to use it after evaluation, you
must register it. Upon registration you may use the
component freely in any freeware or shareware
applications you create and distribute. Use of the component in a commercial application is prohibited without prior written permission from the author. Any additional fee or requirements will be determined based on the nature of the application. This component is provided to you with the full source code 'On Trust'. If you decide to use it please do the honorable thing and register. Please visit MicroFrame's website for instructions concerning registration |