Главная страница
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.007 c
1-97305
Катерина
2002-05-19 12:13
2002.05.30
2 вертикальных оси в TChart


14-97416
DenKop
2002-04-21 23:00
2002.05.30
NTFS или FAT32


3-97137
Oleg_er
2002-04-27 11:17
2002.05.30
Выборка из выборки


8-97358
dorixe
2001-12-30 14:57
2002.05.30
Gif


1-97297
Катерина
2002-05-18 09:12
2002.05.30
ComboBox в ячейке StringGrid