Главная страница
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.013 c
1-97327
anod
2002-05-19 22:41
2002.05.30
HDC


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


1-97258
antistatic
2002-05-21 07:54
2002.05.30
Проблемы с String и PChar


3-97192
sergrrey
2002-05-02 12:34
2002.05.30
Как уменьшить объем используемой оперативки?


1-97296
sdmitrii
2002-05-19 06:17
2002.05.30
Реализация drag&Drop несколько строк из StringGrid а