<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40"
xmlns:ns1="http://schemas.microsoft.com/sharepoint/soap/workflow/"
xmlns:ns2="http://schemas.microsoft.com/office/2006/digsig-setup"
xmlns:ns3="http://schemas.microsoft.com/office/2006/digsig"
xmlns:ns4="http://schemas.openxmlformats.org/package/2006/digital-signature"
xmlns:ns5="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:ns0="http://schemas.microsoft.com/office/2004/12/omml"
xmlns:ns6="http://schemas.openxmlformats.org/package/2006/relationships"
xmlns:ns7="http://microsoft.com/sharepoint/webpartpages"
xmlns:ns8="http://schemas.microsoft.com/exchange/services/2006/types"
xmlns:ns9="http://schemas.microsoft.com/exchange/services/2006/messages"
xmlns:ns10="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/"
xmlns:ns11="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService"
xmlns:ns12="urn:schemas-microsoft-com:">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--a:link
        {mso-style-priority:99;}
span.MSOHYPERLINK
        {mso-style-priority:99;}
a:visited
        {mso-style-priority:99;}
span.MSOHYPERLINKFOLLOWED
        {mso-style-priority:99;}
..MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:Calibri;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:Calibri;
        color:#1F497D;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-GB link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>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.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>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.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'>Geoff & Jacquie
Jenkins, State Electronics,<o:p></o:p></span></font></p>
<p class=MsoNormal><b><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy;font-weight:bold'>1576
Weranui Road<br>
RD 1<br>
Silverdale 0994<o:p></o:p></span></font></b></p>
<p class=MsoNormal><font size=1 color="#990000" face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:#990000'>Ph 09 9581000</span></font><b><font
size=2 color=navy face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial;color:navy;font-weight:bold'> <o:p></o:p></span></font></b></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'>Computer software
development professionals, web development amateur<br>
Computers & Peripherals sales and service. <br>
Linksys Partner VAR - Business Systems, LVS (VOIP) & Linksys One<o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt;font-family:
"Times New Roman"'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>
delphi-bounces@listserver.123.net.nz
[mailto:delphi-bounces@listserver.123.net.nz] <b><span style='font-weight:bold'>On
Behalf Of </span></b>John Bird<br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, 16 September 2011
3:06 a.m.<br>
<b><span style='font-weight:bold'>To:</span></b> NZ Borland Developers Group -
Delphi List<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [DUG] Form activation
/ Mouse click</span></font><font size=3 face="Times New Roman"><span
lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman"'><o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt'><o:p> </o:p></span></font></p>
<div>
<div>
<div>
<p class=MsoNormal><font size=2 color=black face=Arial><span lang=EN-NZ
style='font-size:10.0pt;font-family:Arial;color:black'>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....<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 color=black face=Arial><span lang=EN-NZ
style='font-size:10.0pt;font-family:Arial;color:black'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 color=black face=Arial><span lang=EN-NZ
style='font-size:10.0pt;font-family:Arial;color:black'>I suspect its the type
of control – maybe Toolbar buttons or Speedbuttons do and others do not
for instance? (guessing)<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 color=black face=Arial><span lang=EN-NZ
style='font-size:10.0pt;font-family:Arial;color:black'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 color=black face=Arial><span lang=EN-NZ
style='font-size:10.0pt;font-family:Arial;color:black'>John Bird<br>
JBCL<br>
Contact:<br>
johnkbird@paradise.net.nz<br>
jbclnz@xtra.co.nz<br>
(027 4844528)<br>
http://www.jbcl.co.nz<br>
http://jbclnz.googlepages.com<o:p></o:p></span></font></p>
</div>
<div>
<div>
<div>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span lang=EN-NZ
style='font-size:10.0pt;font-family:Tahoma;color:black'> <o:p></o:p></span></font></p>
</div>
<div>
<div style='font-color:black'>
<p class=MsoNormal style='background:whitesmoke'><b><font size=2 color=black
face=Tahoma><span lang=EN-NZ style='font-size:10.0pt;font-family:Tahoma;
color:black;font-weight:bold'>From:</span></font></b><font size=2 color=black
face=Tahoma><span lang=EN-NZ style='font-size:10.0pt;font-family:Tahoma;
color:black'> <a href="mailto:ross@stationplaylist.com"
title="ross@stationplaylist.com">Ross Levis</a> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='background:whitesmoke'><b><font size=2 color=black
face=Tahoma><span lang=EN-NZ style='font-size:10.0pt;font-family:Tahoma;
color:black;font-weight:bold'>Sent:</span></font></b><font size=2 color=black
face=Tahoma><span lang=EN-NZ style='font-size:10.0pt;font-family:Tahoma;
color:black'> Thursday, September 15, 2011 2:32 AM<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='background:whitesmoke'><b><font size=2 color=black
face=Tahoma><span lang=EN-NZ style='font-size:10.0pt;font-family:Tahoma;
color:black;font-weight:bold'>To:</span></font></b><font size=2 color=black
face=Tahoma><span lang=EN-NZ style='font-size:10.0pt;font-family:Tahoma;
color:black'> <a href="mailto:delphi@delphi.org.nz" title="delphi@delphi.org.nz">'NZ
Borland Developers Group - Delphi List'</a> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='background:whitesmoke'><b><font size=2 color=black
face=Tahoma><span lang=EN-NZ style='font-size:10.0pt;font-family:Tahoma;
color:black;font-weight:bold'>Subject:</span></font></b><font size=2
color=black face=Tahoma><span lang=EN-NZ style='font-size:10.0pt;font-family:
Tahoma;color:black'> [DUG] Form activation / Mouse click<o:p></o:p></span></font></p>
</div>
</div>
</div>
<div>
<p class=MsoNormal><font size=3 color=black face=Calibri><span lang=EN-NZ
style='font-size:12.0pt;color:black'> <o:p></o:p></span></font></p>
</div>
</div>
<div>
<p class=MsoNormal><font size=3 color="#1f497d" face=Calibri><span lang=EN-NZ
style='font-size:12.0pt;color:#1F497D'>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 2<sup>nd</sup> touch is required.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=black face=Calibri><span lang=EN-NZ
style='font-size:11.0pt;color:black'> </span></font><font size=3
color="#1f497d"><span lang=EN-NZ style='font-size:12.0pt;color:#1F497D'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 color="#1f497d" face=Calibri><span lang=EN-NZ
style='font-size:12.0pt;color:#1F497D'>Anyone know why that would be? I would
have thought a touch on a screen touch was identical as clicking with a mouse.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=black face=Calibri><span lang=EN-NZ
style='font-size:11.0pt;color:black'> </span></font><font size=3
color="#1f497d"><span lang=EN-NZ style='font-size:12.0pt;color:#1F497D'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 color="#1f497d" face=Calibri><span lang=EN-NZ
style='font-size:12.0pt;color:#1F497D'>Cheers,<br>
Ross.<o:p></o:p></span></font></p>
<div class=MsoNormal align=center style='text-align:center'><font size=3
color=black face=Calibri><span lang=EN-NZ style='font-size:12.0pt;color:black'>
<hr size=2 width="100%" align=center>
</span></font></div>
<p class=MsoNormal><font size=3 color=black face=Calibri><span lang=EN-NZ
style='font-size:12.0pt;color:black'>_______________________________________________<br>
NZ Borland Developers Group - Delphi mailing list<br>
Post: delphi@listserver.123.net.nz<br>
Admin: http://delphi.org.nz/mailman/listinfo/delphi<br>
Unsubscribe: send an email to delphi-request@listserver.123.net.nz with
Subject: unsubscribe<o:p></o:p></span></font></p>
</div>
</div>
</div>
</div>
</body>
</html>