Terry, you are spot on. I had not entered anything in the list box.
Now it is working. Thankyou.
Barrie
On May 8, 2006, at 11:48 PM, Terry Ford wrote:
On May 8, 2006, at 8:36 PM, Terry Ford wrote:
On May 8, 2006, at 7:48 PM, Barrie Jones wrote:
How do I get checkboxes in a list box? I tried this in the
listbox open event
me.CellType(0,0) = me.TypeCheckBox
Program runs but it opens the debugger at this line and I don't
know why.
Try changing it to:
me.CellType(0,0)=ListBox.TypeCheckBox.
I think the me.TypeCheckBox is incorrect. What was the error
reported?
It also has to exist. Also a number can be used. Here's a simple
Open test for a listbox:
me.AddRow "Blue"
me.CellType(0,0)=2 [or me.CellType(0,0)=ListBox.TypeCheckBox]
HTH,
Terry
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>