>>My code does not have a loop. Here is a pseudo code how it is done in the MAIN.PRG:
>> ...
>
>Sure. That was just an idea where to search for problems; but it doesn't seem to apply in your case.
>
>Another thing you might check is whether there is any possibility that RemoveMenuItem(...) (if it is indeed called like that) removes the wrong item.
Theoretically this is possible. But if this were the case, 3 wrong items from the menu would have been removed. However, 5 items are removed and even the Exit item (the last one). I just don't think this is the case; there got to be something else. But thank you for your suggestion.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham