Главная страница
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-97351
dlK
2002-05-20 11:57
2002.05.30
При открытии проекта происходит подсвечивание клавиши и пункта ме


8-97362
XeN
2001-12-27 10:54
2002.05.30
DelphiX


7-97440
Max
2002-03-03 13:35
2002.05.30
Учетная запись


3-97153
XanderMan
2002-05-06 15:02
2002.05.30
Поиск в BLOB поле


14-97417
Серый
2002-04-20 21:47
2002.05.30
Помогите!!!