Версия для печати темы
Нажмите сюда для просмотра этой темы в оригинальном формате
Форум программистов > Delphi: Общие вопросы > Установка default-а в классе


Автор: Calypso 20.10.2004, 12:43
Hello!!!
:qstn Создаем собственный класс и...
Здесь:
Код

Property Count: integer read FCount write SetCount default 5;

Всепонятно
А тут:
Код

Property Frame: TGridRect read FFrame write SetFrame default ????????????;

никак не получается установить дефаулт для TgridRect

Автор: Dayana 20.10.2004, 13:12
Их хелпа:
Цитата

The default and nodefault directives are supported only for ordinal types and for set types, provided the upper and lower bounds of the set’s base type have ordinal values between 0 and 31


т.е. ты и не сможешь записи поставить default ...

Автор: Calypso 20.10.2004, 13:19
Во елка-палка!!!!!!!!!!!!!!!!!!!????????????

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)