realbasic-nug
[Top] [All Lists]

Re: Listbox cell focus

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Listbox cell focus
From: Dr Gerard Hammond <g dot hammond at garvan dot org dot au>
Date: Mon, 28 Feb 2005 16:52:19 +1100
Cc:
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <944d31800fbae5546bbdd84fe925b9c7 at nc dot rr dot com>
I use

  if key = " " then
    if me.ListIndex <> -1 then
      me.cellcheck(me.ListIndex, 0) = NOT me.cellcheck(me.ListIndex, 0)
      TableCellAction(me.ListIndex)  //private method
      Return true
    end
  end


I have a listbox and which has some columns as editable cells and other columns as checkboxes. How can I programmatically set focus on a checkbox field so that the user can then press the space bar to check/uncheck a particular item? I saw no method to do this in the online help.


Thanks,
Christian

--

Cheers,

Dr Gerard Hammond
Bioinformatic Analyst
Garvan Institute of Medical Research, Sydney, Australia.

Bioinformatics is the science of managing, mining, and interpreting information from biological and clinical data, including sequences, structures, gene expression profiles, mass spectra and medical records.
_______________________________________________
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>