Вниз
Скачать: 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.023 c
9-1086793751
MrAngel
2004-06-09 19:09
2004.10.10
Мультикамерный вывод.


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


3-1095060867
Роман Снегирев
2004-09-13 11:34
2004.10.10
Разрыв коннекта


14-1095788642
Knight
2004-09-21 21:44
2004.10.10
А почему @ - "собака"?


4-1094562789
VZup
2004-09-07 17:13
2004.10.10
Как рисовать на панели




   Наверх