|
|
Visits:
2620
(88 on line)
|
Last Update: Dec 24, 2003
|
|
|
|
| | |
| Description Inheritance Example Properties Methods |
| |
| Description |
The TColors5 object lets you pick any color which can be displayed on your computer.
It displays a form with a gradient of colors for a given palette: when you move the mouse over
the colors, their RGB values in decimal and hexadeimal are displayed. You can click on a color
to make it the base color for a new palette and click on one of the radio buttons to display
the gradient of colors for this new palette. When you close the form, the Wait method returns
the color you have last clicked, in decimal RGB values. |
| Description Inheritance Example Properties Methods |
| |
| Inheritance |
Inherits from: TForm5 TObject5 |
| Description Inheritance Example Properties Methods |
| |
| Example |
| |
 |
| |
The above form is generated by the following APL+Win Objects code: |
'ff'Świ'*Create' 'TColors5' 'Wait'
|
| |
| Description Inheritance Example Properties Methods |
| |
| Properties |
| |
|
| class |
Description: Return current object class
Syntax: class„'obj' Świ 'class' |
| help |
Example:
0 0˝'ff' Świ '*Create' 'TColors5' 'Wait' |
|
| Description Inheritance Example Properties Methods |
| |
| Methods |
| |
|
| Dec2Hex |
Description: Converts base 10 numbers to hexadecimal numbers
Syntax: hexa„'obj' Świ 'Dec2Hex'decimal
decimal: an array of integer numbers
Example:
'oo5' Świ 'Dec2Hex' (Ľ10) |
| Hex2Dec |
Description: Converts hexadecimals to base 10 numbers
Syntax: decimals„'obj' Świ 'Hex2Dec'hexa
hexa: a character vector or nested array of character vectors
Example:
'oo5' Świ 'Hex2Dec' (2 2˝'1010' 'F' 'AAAAFF' '123456789') |
| New |
Description: Create a new instance of TColors5
Example:
'obj' Świ '*Create' 'TColors5'
|
|
| Description Inheritance Example Properties Methods |
| |
|