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

Вниз

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

 
First_May ©   (2003-03-31 11:16) [0]

Здравствуйте! Как можно перехватить событие закрытия списка в ComboBox`е? Я нашел что SendMessage(ComboBox1.Handle, CB_SHOWDROPDOWN, 1, 0) - это открыть список, а SendMessage(ComboBox1.Handle, CB_SHOWDROPDOWN, 0, 0) - закрыть, вопрос в том, что после закрытия списка мне надо выполнить свои действия. На форме нет других компонент, поэтому потеря фокуса не подходит.


 
First_May ©   (2003-03-31 11:31) [1]

Я нашел, если кому то интересно, то:
if SendMessage(ComboBox1.Handle,CB_GETDROPPEDSTATE,0,0)=1
then Caption:="


 
Mike Kouzmine   (2003-03-31 11:52) [2]

Occurs when the drop-down list closes up due to some user action.

property OnCloseUp: TNotifyEvent;

Description

Write an OnCloseUp event handler to implement special processing that needs to occur when the drop-down list closes up. For example, an OnCloseUp event handler can check whether the user changed the selected item while the list was dropped down and respond accordingly.



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

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

Наверх




Память: 0.47 MB
Время: 0.013 c
14-30561
VID
2003-03-25 01:26
2003.04.10
Номера страниц при распечатке в Excel


3-30239
SasaR
2003-03-20 15:43
2003.04.10
FrameWork:FIBDataset


14-30518
den707
2003-03-21 14:08
2003.04.10
Как поставить в DBGrid checkbox напротив каждой строки?


14-30601
race1
2003-03-22 09:17
2003.04.10
ботаники вы


14-30598
Konstantionov
2003-03-25 19:31
2003.04.10
Что почитать по assembler?