realbasic-nug
[Top] [All Lists]

Another ListBox "gotcha": TypeEditable and the ListBox Open Event

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Another ListBox "gotcha": TypeEditable and the ListBox Open Event
From: Emile Schwarz <emile dot a dot schwarz at wanadoo dot fr>
Date: Thu, 31 May 2007 15:17:26 +0200
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Hi all,

REALbasic: "current"
Mac OS X: "current"

I set the TypeEditable property for two columns in the ListBox Open 
event and this seems to be a bad idea. Nothing works at all.

So, for debug purposes, I set the CellTag(0,0) to TypeEditable and 
CellTag(0,1) to TypeCheckBox (*) in the ListBox MouseDown Event.

Then, it worked fine: I can edit the first cell and check / unchek the 
second Cell!


What must I do ?

a. The Window's Open event seems to be the place to set the ColumnType 
(but not the CellType if the ListBox is empty).

b. Issue a Bug Report ?

Please, post your concerns here.

TIA,

Emile

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>