Imja komponenta pod kursorom mishki ?
От: Plastique  
Дата: 06.11.03 18:46
Оценка:
Zdravstvujte.
Ne podskazhite, kak opredelit', 4to za komponent nahoditsja pod kursorom mishki, pri nazhatii na button ?

Zaranee spasibo.
Re: Imja komponenta pod kursorom mishki ?
От: Arioch  
Дата: 06.11.03 19:29
Оценка:
The stars so gaily glistened... (Thu, 06 Nov 2003 18:46:03 GMT @823)
...while the fading voice of Plastique whispered through the darkness:

P> mishki, pri nazhatii na button ?


Runtime или DesignTime ?
--
If i had ears, i'd heard Beto Vazquez Infinity — The Laws Of The Future
http://Arioch.nm.ru/FL/Fidolook_SL.png Mail: the_Arioch<at>nm<dot>ru
Posted via RSDN NNTP Server 1.8 beta
Re[2]: Imja komponenta pod kursorom mishki ?
От: Plastique  
Дата: 06.11.03 19:55
Оценка:
Здравствуйте, Arioch, Вы писали:

A>The stars so gaily glistened... (Thu, 06 Nov 2003 18:46:03 GMT @823)

A>...while the fading voice of Plastique whispered through the darkness:

P>> mishki, pri nazhatii na button ?


A>Runtime или DesignTime ?

A>--
A>If i had ears, i'd heard Beto Vazquez Infinity — The Laws Of The Future
A>http://Arioch.nm.ru/FL/Fidolook_SL.png Mail: the_Arioch<at>nm<dot>ru

Runtime kone4no
Re[3]: Imja komponenta pod kursorom mishki ?
От: Arioch  
Дата: 07.11.03 00:06
Оценка:
The stars so gaily glistened... (Thu, 06 Nov 2003 19:55:47 GMT @872)
...while the fading voice of Plastique whispered through the darkness:

P> Runtime kone4no

Read sources of TApplication.ActivateHint; TApplication.HintMouseMessage;
procedure HintMouseThread(Param: Integer)

--
If i had ears, i'd heard none: WinAMP de-instaled.
http://Arioch.nm.ru/FL/Fidolook_SL.png Mail: the_Arioch<at>nm<dot>ru
Posted via RSDN NNTP Server 1.8 beta
Re: Imja komponenta pod kursorom mishki ?
От: Рома Украина  
Дата: 07.11.03 12:34
Оценка:
Используй это:

Returns the child control located at a specified position within the control.

function ControlAtPos(const Pos: TPoint; AllowDisabled: Boolean, AllowWinControls:Boolean=False): TControl;

Description
Use ControlAtPos to determine which child control is at the specified location within the control. ControlAtPos returns an immediate child of the control; that is, one of the entries of the Controls property, that has this control for its Parent property.
Specify the position in client coordinates as the value of the Pos parameter. Pos can be anywhere within the boundaries of the child control, not just the upper left corner.
The AllowDisabled parameter determines whether the search for controls includes disabled controls.
The AllowWinControls parameter determines whether descendants of TWinControl are considered when looking for the child control.
If there is no control that matches the AllowDisabled and AllowWinControls parameters at the specified position, ControlAtPos returns nil.
Внимательность, внимательность и еще раз ..... забыл, про что я?
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.