Re: IDE: msg 249, for 3-level menu item
- Posted by Dan Moyer <danielmoyer at prodigy.net> Feb 15, 2007
- 489 views
Judith Evans wrote: > > Dan Moyer wrote: > > > > Judith, > > > > Using IDE v 0.20.1, I made a menu item that has a 3rd level menu item, > > but when I try to write code for that 3rd level menu item, > > I get a error msg. 249, > > "Not a valid class-event entry in your permitted list". > > > > When I run the app, the menu structure looks fine, & functions down to > > that 3rd level, & I can write code for 1st level menu items ok. > > > > Do you need more info or code to help me? > > > > > Dan Moyer > > 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 Judith, Fix worked fine! I did notice that my copy IDE_code.ew in that function read:
if equal(tempEventsPerControlClass[x][1], testClass) then
without the "lower", but the fix did work :) Dan