realbasic-nug.it
[Top] [All Lists]

Re: ListBox and Tab key

To: REALbasic NUG Italian <realbasic-nug dot it at lists dot realsoftware dot com>
Subject: Re: ListBox and Tab key
From: Matteo Cortonesi <m_cortonesi at ticino dot com>
Date: Thu, 20 Apr 2006 16:21:39 +0200
Delivered-to: realbasic-nug dot it at lists dot realsoftware dot com
References: <91276EB1-920C-44F4-9F68-BA01E47A321E at tin dot it>

On 20-apr-06, at 16:11, Lucio Liberi wrote:

Ciao.
Mi sono accorto di un probabile bug. Dunque...

Non è un bug, deve essere così. Se invece vuoi farlo comportare nel modo che vuoi te devi restitutuire true nell'evento cellkeydown (di modo che la pressione del tasto non viene intercettata da altri eventi. È proprio per questo che l'evento ha anche un return value.

Il tuo codice diventa:

  if key=chr(9) then
    ParaboleListBox.EditCell(row, column+1)
    return True
  end if

Matteo

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