Page 1 of 1

Form event methods appearing in method list

Posted: Fri Aug 07, 2009 10:44 am
by ConvertFromOldNGs
by Craig Shearer >> Thu, 27 Jul 2000 22:39:48 GMT

Hello All

I just submitted this bug to Jade Support about 5.1. I'm after some feedback from other developers...

Back in the bad old days of 5.0, if I added an event method to a form using the "New Jade Method" menu option in the class browser (rather than by clicking on the event in the form events list), then that method would appear in BOTH the methods list for the form, AND the form events list. I found this very useful.

However, now in 5.1, this "feature" has disappeared. :(

It would be nice to have it back again.


But this is the response...


Contact Details
===============

<snip>

2. 28Jul00 10:32 SGP
This was a fault in JADE 5.0, which is fixed in 5.1.07. Therefore the behaviour you are experiencing now with the event method only displayed in the form events list and not in the methods list is the intended behaviour.

Contact Closed




What do you think? Do you find this feature useful? Should I submit an NFS for this? (Seems funny to have to submit an NFS to reinstate a previously available feature)

Craig.

Re: Form event methods appearing in method list

Posted: Fri Aug 07, 2009 10:44 am
by ConvertFromOldNGs
by Darrell Duniam >> Thu, 27 Jul 2000 22:54:53 GMT

Craig,

I submitted a fault on the basis that an event method should only appear when the event is selected. It was duly fixed. Only user methods should appear in the list of Form methods, which is why unimplemented events appear greyed out. This also reduces the clutter.

darrell.

Re: Form event methods appearing in method list

Posted: Fri Aug 07, 2009 10:44 am
by ConvertFromOldNGs
by BeeJay >> Mon, 31 Jul 2000 0:19:47 GMT

Craig,

I also concur with Darrell that it reduces the clutter and puts them where they belong.

Indeed whenever I find methods like this in my system(s) I will copy the method source, remove them and re-add them via the usual means to get rid of them "incorrectly" appearing in this alternate place.

BeeJay

Re: Form event methods appearing in method list

Posted: Fri Aug 07, 2009 10:44 am
by ConvertFromOldNGs
by Craig Shearer >> Mon, 31 Jul 2000 20:05:22 GMT

Well, each to his own I guess! Whenever I find methods like form load that DON'T appear in the method list (only appearing in the form's event list) I remove them and re-add them as methods to make them appear in the method list!!!! However, now I no longer have this option :-(

I guess I should justify why I think they should appear in the method list:

1) There are usually so few of them, that it doesn't significantly increase "clutter". Typically, I'd have load, unload, resize methods, and that's about it.

2) When I click on a form subclass in the browser, I'd like to see what methods are on that form, without having to click on the <form> entry in the properties list. Often I've been confused by not seeing a method that's been hidden away as a form event.

3) From a usability perspective, having to click on <form> to see these methods adds an extra mouse click.

4) Far from reducing clutter, having these methods categorised as events INCREASES clutter, as to see them I usually have to scroll down the list because of all the unimplemented events that also appear in the list, albeit grayed out. At the very least, the implemented ones should appear at the top of the list, rather than being interspersed with unimplemented ones.

Just my 2 cents worth :-)

Craig.