Главная страница
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-97228
Ismail
2002-05-17 12:36
2002.05.30
Принудительно закрыть проиложение


3-97171
HDD
2002-05-02 08:20
2002.05.30
Помогите люди добрые!


1-97294
kaif
2002-05-18 14:37
2002.05.30
модуль LibIntf ?


1-97274
Vladimir_Ishkiy
2002-05-18 14:51
2002.05.30
Нужна помощь с IE


4-97449
SMike
2002-03-27 20:28
2002.05.30
RichEdit