Re: ActiveControl: how to use it?
- From: helmut woess <hw@xxxxxx>
- Date: Sun, 28 Aug 2005 15:27:04 +0200
Am Sun, 28 Aug 2005 11:29:50 +1200 schrieb Nicholas Sherlock:
> helmut woess wrote:
>> i am working with D7 pro on XP and want to check the actual focused object.
>> So i tried it with ActiveControl, but ActiveControl is always nil. Why?
>
> Form1.activecontrol is always nil? That sounds odd. What control are you
> expecting to have the focus (TEdit/etc..?)?
>
> Cheers,
> Nicholas Sherlock
Yes, but now i know where the problem is. It's because i use a nice
component from LMD called LMDFormDisplay. All Items in such a FormDisplay
gives ActiveControl = nil. Fields outside this FormDisplay are okay.
bye,
Helmut
.
- References:
- ActiveControl: how to use it?
- From: helmut woess
- Re: ActiveControl: how to use it?
- From: Nicholas Sherlock
- ActiveControl: how to use it?
- Prev by Date: Re: The escape key
- Next by Date: Re: Button XP appearance
- Previous by thread: Re: ActiveControl: how to use it?
- Next by thread: Button XP appearance
- Index(es):