Control names causing event method signature problems ...

Discussions about design and architecture principles, including native JADE systems and JADE interoperating with other technologies
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Control names causing event method signature problems ...

Postby ConvertFromOldNGs » Fri Aug 07, 2009 11:16 am

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..

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

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

Postby ConvertFromOldNGs » Fri Aug 07, 2009 11:16 am

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. ------------------------------------------------------------------

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

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

Postby ConvertFromOldNGs » Fri Aug 07, 2009 11:16 am

by Silver Springs ... >> Tue, 30 Nov 1999 22:00:51 GMT


Return to “Design and Architecture”

Who is online

Users browsing this forum: No registered users and 24 guests

cron