Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2004.10.10;
Скачать: 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 вся ветка

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

Наверх




Память: 0.47 MB
Время: 0.029 c
1-1096159405
Leaner
2004-09-26 04:43
2004.10.10
Ошибка: C0000008 в строке CloseHandle(FHand);


14-1095421920
borrris
2004-09-17 15:52
2004.10.10
неужели в Москве приезжим так непросто?


14-1095429384
Sekr
2004-09-17 17:56
2004.10.10
Как устанавливать компоненты под Delphi7


14-1095860037
Soft
2004-09-22 17:33
2004.10.10
HeatPC.com


14-1095439669
Fs-dos
2004-09-17 20:47
2004.10.10
иконки