No rows listbox.doubleclick

Hi there.
A simple question… I want the user can doubleclick an empty listbox to add rows… but the doubleclick event says “The user has double-clicked on a row in the ListBox.”… but I have no rows :frowning:
Any suggestion?

Thanks a lot in advance

Did you try MouseDown Event ?

Nota: In one of my projects, if I Paste text in the ListBox, it Append a brand new Row and populate it with the text from the Clipboard.

Not what you asked, but may be useful.

1 Like

I think it’s the only way… may be wit a timer… thanks a lot for the good idea :rofl:

a timer and a click counter; two clicks in a short time= a double click.

1 Like

Yeah, Done! Thanks for the idea…

Forum for Xojo Programming Language and IDE. Copyright © 2021 Xojo, Inc.