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

Вопрос   Найти похожие ветки 

← →
Cybermonk   (2002-05-20 10:59) [0]

Как сравнивать ((Sender as TMenuItem).GetParentComponent as TPopupMenu).PopupComponent - он типа TComponent и TSpeedButton?
Leshy я пытаюсь реализовать твой алгоритм.


← →
deleon ©   (2002-05-20 11:36) [1]

var
C: TComponent;
begin
C := ((Sender as TMenuItem).GetParentComponent as TPopupMenu).PopupComponent;
if( C is TComponent )and( C is TSpeedButton )then;
end;
//хотя достаточно сравнить с TSpeedButton



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

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



Память: 0.44 MB
Время: 0.01 c
1-97232
indigo
2002-05-19 22:20
2002.05.30
media


1-97297
Катерина
2002-05-18 09:12
2002.05.30
ComboBox в ячейке StringGrid


8-97360
Дархан
2001-12-30 20:24
2002.05.30
Звук


6-97374
Dialogig
2002-03-20 17:50
2002.05.30
Ну очень нужна помощь!


7-97438
arbiter
2002-03-01 22:44
2002.05.30
Капитальный перехват клавиатуры




   Наверх