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

Re: Risolto il 'BUG' ListBox

To: REALbasic NUG Italian <realbasic-nug dot it at lists dot realsoftware dot com>
Subject: Re: Risolto il 'BUG' ListBox
From: Informazioni <info at powerpcweb dot it>
Date: Tue, 20 Sep 2005 15:18:54 +0200
Delivered-to: realbasic-nug dot it at lists dot realsoftware dot com
References: <9AF21068-6C5A-4BA4-8FF2-BED2BA2A4ACA at tin dot it> <2F7B1F4C-4176-4243-A238-81674EE05491 at tin dot it>
no nessuno ti ascolta e se solo soletto :P

Lucio Liberi ha scritto:

Errata corrige !!!

Hi!
Mi sono accorto dove me lo devo mettere... il Return True, intendo...



  if key=chr(9) then
    if column=1 then
      column=-1
    end if

    me.EditCell row, column+1
Return True ' <--- se non lo mettete qui, sara' ben difficile possiate scrivere qualcosa dentro la cella... Meditate gente, meditate
  end if


Ciao...

PS  Ma c'e' qualcuno in ascolto?

Il giorno 20/set/05, alle ore 10:10, Lucio Liberi ha scritto:

Basta aggiungere

Return true  nell'evento CellKeyDown e funziona anche su Mac

  Dim Tab as String
  Dim i, j As Integer

  i=row
  j=column+1

  Tab=Chr(9)

  if key=Tab then
    if j=5 then
      j=0
    end if
    ListBox1.EditCell i, j
  end if
  Return True  <<<-------


ciao a tutti e grazie!!!


lucio liberi




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