Has anyone else had problems with popup menus under OS 9? I’m having weird
and sporadic results. I’m thinking they’re memory related, but I’m not
totally sure. Sometimes my app will crash with error type 2, sometimes just
the app will freeze up, and sometimes the whole computer will lock up. I’m
not sure if the problem lies in my code in the menuPick handler of the popup
button or what. The menu is dynamically created with items read from a text
file at run-time. The menu displays just fine, but the problem occurs
immediately after selecting a menu item and the menu disappears.
Popup menus in revolution have problems. I've gone through hell and back with them.
First thing to check is the menuMouseButton property in the inspector, on creation of a popup button it is set to 1, which is 100% wrong for a one button mouse mac. It should be set to 0.
According to this list and the documentation the IDE becomes unstable if its the wrong setting (so why is default to the wrong setting? 1,001 guesses)
Second thing to check is the number of lines and submenus in that text file you are importing into the popup button. Whats the limit? 256 or something?
Third to thing to check, it may not even be THAT button, if one of your other
buttons has generated IDE instability, then other popups when clicked will
become corrupt and eventually cause a crash.
see bug 1781 http://support.runrev.com/bugdatabase/show_bug.cgi?id=1781 There Tuviah says we can have 25,000 submenus now (wee!) He didn't say what rev version though....
There might be more popup bugs as someone I work with is using 2.5
and is experiencing menu bugs that I'm not seeing in 2.2
(hard to know what they are exactly I'm across the Atlantic ocean from him)
Maybe post your script and a link to the text file if its not too top secret and
we can get to the bottom of this faster.
I feel your pain,
Mr Bill
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
