LITHIA
Oct 4th, 2006, 03:06 PM
Hi everyone,
I was just working on my program and I'm implementing a Rename ability.
At the moment the user has to right click the item and choose rename in order to rename it, but I'd like it so the user can also do a slow double click (like you do in Windows Explorer to rename a file), where you click the the item, wait a second or so and click it again.
I was expecting VS to have this built in as a mouse event, however... I can't see it. All I can see is a normal click and a normal double click.
Does anyone know of this "Delayed Double Click"? I guess it probably isn't built into VS.
If it isn't, I'll be happy to make my own method using a timer (I'll figure something out). I just wanted to make sure there isn't already this method somewhere before I go writing my own. Anyone already written one?
Thanks very much!
I was just working on my program and I'm implementing a Rename ability.
At the moment the user has to right click the item and choose rename in order to rename it, but I'd like it so the user can also do a slow double click (like you do in Windows Explorer to rename a file), where you click the the item, wait a second or so and click it again.
I was expecting VS to have this built in as a mouse event, however... I can't see it. All I can see is a normal click and a normal double click.
Does anyone know of this "Delayed Double Click"? I guess it probably isn't built into VS.
If it isn't, I'll be happy to make my own method using a timer (I'll figure something out). I just wanted to make sure there isn't already this method somewhere before I go writing my own. Anyone already written one?
Thanks very much!