realbasic-nug
[Top] [All Lists]

Listbox, cell(i,j).TypeEditable

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Listbox, cell(i,j).TypeEditable
From: Ronald Vogelaar <rovo at l4a dot info>
Date: Mon, 31 Jan 2005 23:43:50 +0100
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Hi All,

How can I quickly set all cells in a listbox to TypeEditable? I tried the
following, but it gave me an outofboundsexception:

  for i=0 to listbox1.columncount
    listbox1.columntype(i)=Listbox.TypeEditable
  next

I even tried the following, but I was greeted with the same goodbye message:


  for i= 0 to listbox1.listcount
    for j=0 to listbox1.columncount
      listbox1.celltype(i,j)=Listbox.TypeEditable
    next
  next

Thanks in advance,

Ronald Vogelaar
http://www.rovosoft.com
_______________________________________________
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>

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