Re: Can I just confirm Alt handling etc
Pete,
Your example works fine for me, pressing <alt> b or c give the associated
message in status bar; bell dings with <alt><either> but not with click on
button, and the "dotted" frame inside the button changes to whichever
associated key was pressed but does not depress. I'm running with Win32Lib
55x1.
I doubt this is the cause of the difference between how these examples are
working for different people, but I have my system set up to run programs
when *single* clicked, instead of double-clicked.
:)
Dan
----- Original Message -----
From: <petelomax at blueyonder.co.uk>
To: "EUforum" <EUforum at topica.com>
Sent: Friday, March 22, 2002 9:53 AM
Subject: Re: Can I just confirm Alt handling etc
On Fri, 22 Mar 2002 06:56:42 -0800, Dan Moyer
<DANIELMOYER at prodigy.net> wrote:
>This example works fine for me, with NO onKey events specified:
Thanks, your example worked fine for me, but my code just don't
I have studied it & studied it till I'm blue in the face and I just
can't for the life of me see the difference between that & this:
include win32lib.ew
constant
COMPARE = create( Window, "Compare", 0, 100, 100, 500, 180, 0),
Browse = create( PushButton, "&Browse", COMPARE, 405, 40, 80, 25,
0 ),
Compare = create( PushButton, "&Compare", COMPARE, 405, 75, 80,
25, 0 ),
StatusBar5 = create( StatusBar, "No button pressed yet", COMPARE,
0, 0, 0, 0, 0 )
procedure onclickBrowse()
setText(StatusBar5, "Browse button pressed")
end procedure
onClick[Browse]=routine_id("onclickBrowse")
procedure onclickCompare()
setText(StatusBar5, "Compare button pressed")
end procedure
onClick[Compare]=routine_id("onclickCompare")
WinMain(COMPARE,Normal)
Yours, even more confused than ever,
Pete
|
Not Categorized, Please Help
|
|