Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 20 in printed book and digital formats -- plus a one-year subscription (beginning with 21.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview

Buy Now

Issue 1.2


Ask The Experts

Issue: 1.2 (October/November 2002)
Author: Seth Willits
Article Description: No description available.
Article Length (in bytes): 10,207
Starting Page Number: 32
Article Number: 1115
Resource File(s):

Download Icon 1115.zip Updated: 2013-03-11 19:07:56

Related Web Link(s):


Excerpt of article text...

Q: I want the user to be able to either select a cell in the listbox or to be able to edit the text in it. I tried setting the CellType to 3 but then I can't select the row.


What you'll need to do is use the CellClick event to determine if the same cell was clicked twice within a set period of time and if so set that cell to be editable. This allows the user to click once to select the row and double click to edit the cell.

Since more than one listbox with these editable cells could exist in a window, the easiest and most efficent solution will require a listbox subclass. All of the code will go into the specified events of a listbox subclass called EditCellsLB.

EditCellsLB Properties

...End of Excerpt. Please purchase the magazine to read the full article.