Вниз
Скачать: 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 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.014 c
6-74356
scruff
2003-08-23 20:01
2003.10.23
Голосовой чат для лок сети


3-74014
Юлия
2003-10-03 21:55
2003.10.23
Поиск записей


1-74136
KDel
2003-10-10 22:36
2003.10.23
Редактирование ресурсов в exe


6-74345
Dr.Karter
2003-08-26 13:42
2003.10.23
Как Отслеживать пакет


9-73963
Shatalka_o
2003-04-18 11:51
2003.10.23
У кого есть исходники трехмерной графики?




   Наверх