Haven't done delphi in 10 years, but it was something like this (delphi people, i know this isn't correct, but it conveys the concept):
button.onclick = mymethod I believe that in later versions they did something like: button.onclick += mymethod that way you could have multiple listeners. I remember when I switched from delphi to java I was surprised at how many features Delphi had that Java didn't. 10 years later and that is still the case (properties and events for example). On Sep 16, 5:37 am, Reinier Zwitserloot <[email protected]> wrote: > So, after listening to #278 (What do you want from JavaFX?), I'm > curious: How exactly do you 'just register' a listener and forget > about it? In what way is this different from the java experience. If > anyone could put some examples of either C# or delphi source here, > that'd be great. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/javaposse?hl=en -~----------~----~----~----~------~----~------~--~---
