Page 1 of 1

Control names causing event method signature problems ...

Posted: Fri Aug 07, 2009 11:16 am
by ConvertFromOldNGs
by Silver Springs ... >> Sun, 28 Nov 1999 21:55:30 GMT

In 5.0.12 and earlier versions if you named say, a combobox in Painter with a 13 character or longer name then this is fine except for the case where you want to access the windowCreated event off that control. JADE generates an event signature that is a combination of the control name and "_windowCreated" --- plus parameters etc.

In the above situation JADE throws up a "Method Name too long" dialogue when you try to access the control's windowCreated event in the Class browser.

In 5.0.14 this has been improved -- but the problem still occurs if you name controls up to the limit (seems to be 17 characters).

This is working "as intended" apparently and you need to be aware of it if you are using long control names and then may want to make use of the windowCreated event.

sigh..

Re: Control names causing event method signature problems ...

Posted: Fri Aug 07, 2009 11:16 am
by ConvertFromOldNGs
by Allistar Melville >> Sun, 28 Nov 1999 9:44:43 GMT

It also becomes a problem when you define your own events where those events have longer than normal names.

Allistar.

------------------------------------------------------------------
Allistar Melville
Software Developer
Auckland, NEW ZEALAND

Greentree International,
Developer of Greentree Financial Software. ------------------------------------------------------------------

Re: Control names causing event method signature problems ...

Posted: Fri Aug 07, 2009 11:16 am
by ConvertFromOldNGs
by Silver Springs ... >> Tue, 30 Nov 1999 22:00:51 GMT