Вниз
Скачать: 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
3-97111
Elvira
2002-04-30 11:10
2002.05.30
субд Oracle8i


1-97227
Maloy
2002-05-20 14:18
2002.05.30
Использование Ворда для генерации отчетов


1-97300
RaZEr_
2002-05-15 19:49
2002.05.30
Проблема сохранения в файл


3-97161
altukhov_denis
2002-05-01 08:30
2002.05.30
DBGrid -> SYLK


1-97350
Maxman
2002-05-20 11:03
2002.05.30
DrawGrid




   Наверх