Hi,
I’ve been struggling for the last few days trying to work out how to do a listbox.text cell input from the keyboard.
Can anyone help please
Ed
Look at ListBox.EditCell. http://documentation.xojo.com/index.php/ListBox.EditCell
Also check out the ListBox example project included with Xojo:
Examples/Desktop/Controls/ListBox/ListBoxExample
hi both thanks for getting back to me.
I have done both of those things. Set the cell to type celledit type 3 in onclick but still not getting anywhere
Ed, its not just about setting the type. You need to call the editcell method (most probably from the cellclick event) to enable edit once the cell is clicked. Check the listbox example in the examples in your Xojo folder if you are confused how to:
In the Cellclick handler of the standard listbox you can see how this is done.