[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ProgSoc] Buttons



Geoff Saxby wrote:

> Does anyone know why it is possible to click buttions in Win95 (and other
> GUIs for that matter) and have it visually go in and out, but no command
> be executed? Surely if the code recognises a mouse click enough to depress
> (?) the button then it should pass the message along to the app.

Yup .. if you've ever used Delphi, Java or VB or anything else like that, you'll
see that you can place buttons on the screen, but you still have to associate the
button press with an event.

So the button can still be 'clicked', but if you dont have an ActionListener or
OnButtonClick handler or something that is associated with the button, then
it doesnt do anything.

             gleNN

--
You are subscribed to the progsoc mailing list. To unsubscribe, send a
message containing "unsubscribe" to progsoc-request@nospam.progsoc.uts.edu.au.
If you are having trouble, ask owner-progsoc@nospam.progsoc.uts.edu.au for help.

This list is archived at <http://www.progsoc.uts.edu.au/lists/progsoc/>