Top.Mail.Ru
Мастера DELPHI, Delphi programming community Титульная страница Поиск, карта сайта Написать письмо 
| Новости | Поиск | FAQ | Статьи | Книги | Новости VCL |
| Форумы ЧАТ | Орешник | KOL и MCK |
Форумы -» Основная («Начинающим»)/ Базы / WinAPI / Компоненты / Сети / Media / Игры / Corba и COM / KOL / FreePascal / .Net / Прочее / RSDN.ORG

« предыдущая ветвь | форум | следующая ветвь »

Как преобразовать 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.


Наверх

Титульная страница Поиск, карта сайта Написать письмо