Вниз
Скачать: CL | DM;

button1.enabled:=sendmessage(...,em_canudo,0,0) выдает ошибку!   Найти похожие ветки 

← →
Паскаль ©   (2004-09-06 13:10) [0]

на этапе компиляции выкидывается сообщение: Incompatible types "boolean" & "integer",на строке button1.enabled:=sendmessage(memo1.handle,em_canudo,0,0);
люди добрые, помогите, проэкт в тар тарары летит!


← →
jack128 ©   (2004-09-06 13:21) [1]

button1.enabled := sendmessage(memo1.handle,em_canudo,0,0) <> 0;

ps: rtfm - BOOL


← →
Reindeer Moss Eater ©   (2004-09-06 13:27) [2]

button1.enabled := (sendmessage(memo1.handle,em_canudo,0,0) <> 0);


← →
Reindeer Moss Eater ©   (2004-09-06 13:28) [3]

button1.enabled := boolean(sendmessage(memo1.handle,em_canudo,0,0));


← →
jack128 ©   (2004-09-06 13:41) [4]

Reindeer Moss Eater ©   (06.09.04 13:27) [2]
Reindeer Moss Eater ©   (06.09.04 13:27) [2]

зачем скобки??
Reindeer Moss Eater ©   (06.09.04 13:28) [3]
button1.enabled := boolean(sendmessage(memo1.handle,em_canudo,0,0));
возможны проблемы. если уж приводить, то к BOOL. Повторюсь rtfm BOOL и boolean types


← →
enel ©   (2004-09-08 01:59) [5]

Не нравится button1.enabled := boolean(sendmessage(memo1.handle,em_canudo,0,0)); - напиши button1.enabled := LongBool(sendmessage(memo1.handle,em_canudo,0,0));



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

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



Память: 0.45 MB
Время: 0.028 c
3-1094793826
AleKo
2004-09-10 09:23
2004.10.10
OLAP


3-1095243691
Viper
2004-09-15 14:21
2004.10.10
Результат TQuery и TCombobox


14-1095916906
Dmitriy O.
2004-09-23 09:21
2004.10.10
Купил Сканер


1-1096040073
Vasiliy2k
2004-09-24 19:34
2004.10.10
таблицы в TRichedit


3-1094708784
Hohol
2004-09-09 09:46
2004.10.10
ADO+DBF - проблеммы с кодировкой




   Наверх