D
Dale Fye
I've got a form where I want to disable the default shortcut menu, but want
to display a custom menu for a listbox on the form.
I've tried a number of settings of the forms shortcutmenu property (Yes/No)
and combinations of other items, but cannot seem to figure this out.
I even tried creating a rectangle on the form and placing it around the
listbox, then I used the mousemove event to set me.shortcutmenu = false when
passing over the rectangle and me.shortcutmenu = true when passing over the
listbox, but this doesn't work either.
any bright ideas out there?
to display a custom menu for a listbox on the form.
I've tried a number of settings of the forms shortcutmenu property (Yes/No)
and combinations of other items, but cannot seem to figure this out.
I even tried creating a rectangle on the form and placing it around the
listbox, then I used the mousemove event to set me.shortcutmenu = false when
passing over the rectangle and me.shortcutmenu = true when passing over the
listbox, but this doesn't work either.
any bright ideas out there?