Re: IDE : Sub Menu & Sub Menu Item

new topic     » goto parent     » topic index » view thread      » older message » newer message

manwoo21 wrote:
> 
> When I use IDE, I can not generate the event for Sub Menu and Sub Menu Item.
> 
> What I do is as follows;
> 
> 1) Open "Menu Edit" in "Editors" in menu bar
> 2) Push botton of "Add Menu"
> 3) Click "Level 2 Sub Menu" in "Add SubMenu/SubMenuItem" in menu bar
> 4) Click "Level 2 Sub Menu Item" in "Add SubMenu/SubMenuItem" in menu bar
> 5) Click "OK" to exit menu window
> 6) Open Code editor window
> 7) click "Level2MenuItem_103"
> 8) I got the error message of "Not a valid class-event entry in your permitted
> list"
> 
> What should I do??

Here's what Judith told me when I had the same problem, in version 0.20.1:

"Here is the fix:

in IDE_code.ew around line 478 find the function verifyClassEventPermitted and 
scroll down to
	for x=1 to length(tempEventsPerControlClass) do
		if equal(tempEventsPerControlClass[x][1], lower(testClass)) then	
and change to:
	for x=1 to length(tempEventsPerControlClass) do
		if match(lower(tempEventsPerControlClass[x][1]), lower(testClass)) then	

judith evans"

It worked, though I think I remember that the was a very slight difference
in the original code from what she specified.  But putting what she suggested
as a replacement worked fine.

Dan Moyer

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu