Il 05/03/2018 09:41, Lubos Pintes via Lazarus ha scritto:
Hello and thank. And in general, if I have a TControl instance, can
you tell me a reliable algorithm that tells me if the control has a
focus?
By definition, the focused control is the control which receives
keyboard input.
That's wh
Hello and thank. And in general, if I have a TControl instance, can you
tell me a reliable algorithm that tells me if the control has a focus?
Only if it makes sense of course. So probably something like I tried
before, that is the control is a TWinControl instance and the Focused
property is t
On 03/04/2018 09:48 PM, Lubos Pintes via Lazarus wrote:
Hello and thank for a reply. Do I understand correctly that a form is a
special case?
What about TEdit or TButton for example? I am encapsulating a TControl
instance and am asking for properties needed for UI Automation,
occasionally askin
3.2018 17:58
> Předmět: [Lazarus] An expression is returning false, why?
>
Hello,
Sorry for possibly stupid subject and maybe off-topic question. In my
UIA code, I am testing if a control has focus. So I have a FControl:
TControl declared in my class.
Now say FControl contains a TForm1 inst
...@lists.lazarus.freepascal.org
Datum: 04.03.2018 17:58
Předmět: [Lazarus] An expression is returning false, why?
Hello,
Sorry for possibly stupid subject and maybe off-topic question. In my
UIA code, I am testing if a control has focus. So I have a FControl:
TControl declared in my class.
Now say FControl contains a
Hello,
Sorry for possibly stupid subject and maybe off-topic question. In my
UIA code, I am testing if a control has focus. So I have a FControl:
TControl declared in my class.
Now say FControl contains a TForm1 instance, simply we have very simple
program with just an empty window. Then an exp