How to create right-click menu

  • Thread starter Thread starter Morten Snedker
  • Start date Start date
M

Morten Snedker

When i right-click in a listbox I wish for a menu to pop up by cursor.
How do I create such a menu?

Thx in advance!


Regards /Snedker
 
On Mon, 21 Feb 2005 10:36:53 +0100, Morten Snedker
<morten_spammenot_ATdbconsult.dk> wrote:

Talk about not seing the woods for trees!

It's all in the toolbox! Jeez... a whole lotta things has gotten too
easy with .Net ! ;-)

/Snedker
 
Morten,

Morten Snedker said:
When i right-click in a listbox I wish for a menu to pop up by cursor.
How do I create such a menu?

Drag a ContextMenu component onto the form and assign it to the listbox'
'ContextMenu' property.
 
Back
Top