Вниз
Скачать: 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.011 c
14-97425
sudiv
2002-04-23 14:10
2002.05.30
Чего с БК случилось ???


1-97349
Сатир
2002-05-20 14:23
2002.05.30
TreeView Variant


1-97341
jenbbond
2002-05-17 12:06
2002.05.30
button


6-97377
kvcomp
2002-03-18 14:16
2002.05.30
RasHangUp!


1-97293
Новенький в Делфи
2002-05-18 23:38
2002.05.30
Как определить индекс массива




   Наверх