[DUG] Form activation / Mouse click
Geoff & Jacquie
geoff at statesoft.co.nz
Fri Sep 16 11:10:20 NZST 2011
I have noticed the same behaviour using a mouse and decided it is normal for
windows apps. If the form doesn't have focus then why would it process the
button event? I think the first event on an unfocussed form or app probably
sets the focus and is then discarded. This behaviour is different in a
browser window as you note.
As for type of control, while my browser has focus, no menus, buttons,
put-cursor-here-click, on this Outlook message window results in the action
obtained when clicked "while using Outlook". I have to click again.
Geoff & Jacquie Jenkins, State Electronics,
1576 Weranui Road
RD 1
Silverdale 0994
Ph 09 9581000
Computer software development professionals, web development amateur
Computers & Peripherals sales and service.
Linksys Partner VAR - Business Systems, LVS (VOIP) & Linksys One
_____
From: delphi-bounces at listserver.123.net.nz
[mailto:delphi-bounces at listserver.123.net.nz] On Behalf Of John Bird
Sent: Friday, 16 September 2011 3:06 a.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Form activation / Mouse click
That might be a Windows issue? I have seen other programs where clicking a
button in a non-focussed app does not click the button, and some where it
does. Eg Windows Mail clicking send receive does activate the form but does
not click the Send Receive button. However a Firefox Refresh button will
activate even if the Firefox Window does not have focus....
I suspect its the type of control - maybe Toolbar buttons or Speedbuttons do
and others do not for instance? (guessing)
John Bird
JBCL
Contact:
johnkbird at paradise.net.nz
jbclnz at xtra.co.nz
(027 4844528)
http://www.jbcl.co.nz
http://jbclnz.googlepages.com
From: Ross Levis <mailto:ross at stationplaylist.com>
Sent: Thursday, September 15, 2011 2:32 AM
To: 'NZ <mailto:delphi at delphi.org.nz> Borland Developers Group - Delphi
List'
Subject: [DUG] Form activation / Mouse click
In my D7 app it is possible to have 2 non-modal forms on the screen with
buttons on each. A customer who has a touch screen says when he touches a
button on the form that doesn't currently have the focus, the button doesn't
get clicked. First touch only activates the form and a 2nd touch is
required.
Anyone know why that would be? I would have thought a touch on a screen
touch was identical as clicking with a mouse.
Cheers,
Ross.
_____
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi at listserver.123.net.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-request at listserver.123.net.nz with
Subject: unsubscribe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20110916/cff9112e/attachment.html
More information about the Delphi
mailing list