On Feb 28, 2005, at 12:52 AM, Dr Gerard Hammond wrote:
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.
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
Thanks... that would work if there were only one checkbox per row. I
have some listboxes that have six checkboxes per row.
Thanks,
Christian
Pariahware, Inc. Custom Software
<pariahware at pariahware dot com>
<http://www.pariahware.com>
--
God loved you so much that He gave His only son Jesus. What have you
done with God's gift?
_______________________________________________
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>
|