[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.
You are subscribed to the progsoc mailing list. To unsubscribe, send a
message containing "unsubscribe" to email@example.com.
If you are having trouble, ask firstname.lastname@example.org for help.
This list is archived at <http://www.progsoc.uts.edu.au/lists/progsoc/>