Вниз
Скачать: 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.007 c
1-97219
Denis Voskvitsov
2002-05-20 14:43
2002.05.30
TMemo


6-97373
Over G
2002-03-20 23:35
2002.05.30
файл через Winsock


1-97302
Blacki
2002-05-19 10:19
2002.05.30
Проблемы с TDateTime


1-97277
Well
2002-05-18 16:35
2002.05.30
Excel


8-97353
VEG
2001-12-27 19:37
2002.05.30
Нужен компонент как TMediaPlayer.




   Наверх