1) I have a frame (F1) that has a TPopupMenu (PM) with no menu items at
all. The only reason PM is declared in F1 is that PM is popped up by F1
manually (after simulating a left click, and then a right click on a
TListBox to select the item under the mouse cursor). Components that use
F1 are supposed to add menu items to PM themselves.
2) I drop F1 on another frame (F2).
3) I double-click on PM, add a menuitem to it, name it, and close the
4) I click once on PM in the frame editor just to be presented with this
error message: "List index out of bounds (0)". From then on, the same
thing occurs every time I close the menu editor. If I click on any other
component on the frame after closing the menu editor, no error occurs.
Another symptom: right after the menu editor closes, a "shadow
component-edge" appears over the frame for a split second, the size of
PM, then it disappears.
Anyone met the phenomenon? I tried googling it, but the only related bug
I found is an older one that happens when you open a form that was
created with an earlier version of Delphi.
I use TD2006.
Thanks for pointers in advance!