Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
660
Editing allowed but no immediate editor?
posted

Hi,

is it possible to set the UltraListView to a state, where the user is able to edit the items (main column) but didn't get the editor when clicking the item the first time?

It's a bit annoying if you click on an item and get the editor all the time. It's OK on a second click or with F2.

Any solutions/idas?

thanks

Boris

  • 69832
    Offline posted

    There is no property setting that will get you this behavior, but you can handle MouseDown, set a timer, and check that timer in MouseUp, then go into edit mode programmatically based on a condition such as whether the item was selected when MouseDown fired. Typically you also handle MouseDoubleClick and kill the timer if that event fires so that a double-click does not cause the item to enter edit mode.