setting menuhistory in a repeat loop

2008-05-29 Thread Jim Lambert
Hi All, I have a handler with a repeat loop that steps thru a list of button IDs. The first time I set the menuhistory of one of these buttons, the repeat loop and the entire handler exits to top without completing. In other words, if there are 4 buttons in the list and I set the

Re: setting menuhistory in a repeat loop

2008-05-29 Thread Jim Lambert
I have a handler with a repeat loop that steps thru a list of button IDs. The first time I set the menuhistory of one of these buttons, the repeat loop and the entire handler exits to top without completing. Found the answer. Instead of: repeat with x = 1 to 4 set the menuhistory