Вниз
Скачать: 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 вся ветка

Скачать: CL | DM;



Память: 0.44 MB
Время: 0.011 c
4-97459
[HDD]John
2002-03-28 13:52
2002.05.30
Исправляюсь: имитация нажати КЛАВИШИ ТАВ


4-97461
ZOND
2002-03-27 00:57
2002.05.30
Hook без DLL-Это возможно


14-97396
Елена
2002-04-19 06:42
2002.05.30
Снова о популярности Delphi на Западе


3-97151
Саша
2002-05-06 12:37
2002.05.30
EDBEngineError Translate error.Value out of bounds


3-97167
Reticent
2002-05-07 18:38
2002.05.30
Подскажите




   Наверх