Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2003.10.23;
Скачать: CL | DM;

Вниз

Несоответствие типов?   Найти похожие ветки 

 
Ab_Prob   (2003-10-13 14:09) [0]

Всем привет!
Строка

Form1.ComboBoxEx1.ItemsEx.SortType:= stText

Выдает ошибку:
Incomapatible tipes: "TListItemsSortType" and "TSortType";

Что я делаю не так?, если в самом HELPE написано:

Indicates how the items should be sorted.
type TListItemsSortType = (stNone, stData, stText, stBoth);
property SortType: TSortType;

Description

Use SortType to indicate how you want the items sorted, if at all. The following table lists the possible values:

Value Meaning

stNone Items are not automatically sorted. You can still sort the items explicitly by calling the Sort or CustomSort method.
stData Items are sorted based on the value of their Data property. You must supply an OnCompare event handler to specify the sort order.
stText Items are sorted base on the value of their Caption property. The CaseSensitive property specifies whether comparisons are case-sensitive.
stBoth Items are sorted based on an OnCompare event handler if one is assigned, otherwise based on the value of their Caption property.


 
Skier ©   (2003-10-13 14:12) [1]

uses ListActns;

Form1.ComboBoxEx1.ItemsEx.SortType:= ListActns.stText


 
Ab_Prob   (2003-10-13 14:17) [2]

Thanks!



Страницы: 1 вся ветка

Текущий архив: 2003.10.23;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.015 c
4-74520
pool
2003-08-18 17:14
2003.10.23
как узнать раскладку клавиатуры


7-74500
avkiev
2003-08-01 17:02
2003.10.23
Дата создания директория


1-74318
Pacuk
2003-10-12 00:53
2003.10.23
Перекодировка форм Delphi3 -> Delphi5


1-74231
MakNik
2003-10-09 15:07
2003.10.23
CRC-код файла


6-74346
Son!K
2003-08-27 05:47
2003.10.23
Сокеты