Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Is there a way to display a context-sensitive menu after the user has clicked on a listview item and entered into the label edit mode?

 

I can capture the "BeforeLabelEdit" event and display the menu there, but that is too soon to show the menu. I need the menu to show when they are actually editing the text.

 

The purpose for this is that I would like to be able to let the user select from items on the menu to place at the location of the insertion bar/cursor. Example: the user clicks on a list view item that has this text: "Windows is great". They place the focus bar after the letter "s" in the word "Windows", right click and a menu pops up that has the choices of "NT", "2000" and "XP". The user selects the "XP" item and the code would insert the selected text at the insertion point so that the listview text would now read "WindowsXP is great"

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...