Re: Can I just confirm Alt handling etc
- Posted by petelomax at blueyonder.co.uk Mar 22, 2002
- 468 views
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