Re: Can I just confirm Alt handling etc

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu