Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2002.05.30;
Скачать: 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 вся ветка

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

Наверх




Память: 0.46 MB
Время: 0.012 c
1-97340
Cybermonk
2002-05-17 08:58
2002.05.30
Вопрос


3-97115
VICTOR_
2002-05-10 16:30
2002.05.30
Проблема с LANGUAGE DRIVER в PARADOX


6-97372
новенький в Делфи
2002-03-21 00:14
2002.05.30
как узнать IP по Host-у


1-97232
indigo
2002-05-19 22:20
2002.05.30
media


1-97245
Blacki
2002-05-20 17:30
2002.05.30
Delphi или C