Discussion:
table manager: tblSelectEvent, TblHandleEvent, selecting items upon clicking
(too old to reply)
n***@cs.mun.ca
2005-08-03 21:49:54 UTC
Permalink
Hello,

I have a table with custom drawing routines set up for each row and
column. I would like to know whether I can select a row when I click
on a table cell. In the Palm OS Garnet Simulator I right click and
select "View -> Events". However, only penDown and penUp events show
up. Hence I cannot catch the tblSelect event I was hoping to catch.
Furthermore, the penUp and penDown events don't seem to make it to
the event handling routine for the current form. Any idea of how
to implement selection upon clicking on a table correctly.

Thanks,

Neil
Baxter
2005-08-03 23:25:31 UTC
Permalink
Maybe you want the tblEnterEvent?

I use it to "select" custom-draw columns.
--
---------------------------------------------------------------------
DataGet & PocketLog www.dataget.com
Data Collectors www.baxcode.com
--------------------------------------------------------------------
Post by n***@cs.mun.ca
Hello,
I have a table with custom drawing routines set up for each row and
column. I would like to know whether I can select a row when I click
on a table cell. In the Palm OS Garnet Simulator I right click and
select "View -> Events". However, only penDown and penUp events show
up. Hence I cannot catch the tblSelect event I was hoping to catch.
Furthermore, the penUp and penDown events don't seem to make it to
the event handling routine for the current form. Any idea of how
to implement selection upon clicking on a table correctly.
Thanks,
Neil
n***@cs.mun.ca
2005-08-04 04:17:27 UTC
Permalink
Post by Baxter
Maybe you want the tblEnterEvent?
I use it to "select" custom-draw columns.
I have tried this but the event is not going to my form handler.
As a matter of fact Palm OS Garnet Simulator does not even show
it when I select the option to display events. Any ideas?

Thanks,

Neil
Baxter
2005-08-04 16:07:34 UTC
Permalink
You shouldn't have that problem. Perhaps you need to step back and
debug/trace through your AppEventLoop? You *did* set the correct
EventHandler for your form? You *did* set row useable, etc?

Might also help to indicate what language/environment you're programming in.
I'm not sure what you're saying when you say "Palm OS Garnet Simulator does
not even show it when I select the option to display events" - I don't see
any such options on the simulators or emulators I've downloaded from
Palm/PalmSource -- and that's usually a debugger thing.
--
---------------------------------------------------------------------
DataGet & PocketLog www.dataget.com
Data Collectors www.baxcode.com
--------------------------------------------------------------------
Post by n***@cs.mun.ca
Post by Baxter
Maybe you want the tblEnterEvent?
I use it to "select" custom-draw columns.
I have tried this but the event is not going to my form handler.
As a matter of fact Palm OS Garnet Simulator does not even show
it when I select the option to display events. Any ideas?
Thanks,
Neil
Loading...