![]() |
| ||
|
|
Новости |
Поиск |
FAQ |
Статьи |
Книги |
Новости VCL
| | Форумы ЧАТ |
Орешник |
|
| |||
| |||
« предыдущая ветвь | форум | следующая ветвь »
Как преобразовать Color Value в строку... [D6, Win2k]
EugenCFG © (2002-07-17 18:24:00)Не используя следующий случай:
If ColorBox.ColorValue=clBlack then str:=clBlack....
Может кто знает функцию что-то типа strtoint...
Заранее спасбо!!!
Song (2002-07-17 18:47:00) [1]ColorToString()
Skier (2002-07-17 18:26:00) [2]>EugenCFG
Provides the symbolic name of a TColor value.
Unit
Graphics
Category
graphics utilities
function ColorToIdent(Color: Longint; var Ident: string): Boolean;
Description
Call ColorToIdent to obtain the name of the symbolic constant that represents a TColor value, such as clBlack or clWindow. The Ident parameter is set to the symbolic name. If there is no symbolic constant defined for the color, ColorToIdent returns False.