Try setting the row of the table invalid and redrawing.
Elia

-----Original Message-----
From: K2 Consultants, Inc. [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 02, 1999 3:04 PM
To: [EMAIL PROTECTED]
Subject: Table with checkboxes


Hi,

I have a table that has 2 columns, one with checkboxes and other with text.

It works fine when the user taps on the checkbox (ie the checkmark toggles
ok) and I can get the state of the checkbox for the selected row during
tblSelectEvent.  So far so good (when the user taps on the checkbox itself
in column 0).

I want to grab the tap on column 1 (the one that has text next to the
checkbox) and turn that into a checkbox action.  I am not able to do this.
I have tried a few approaches:

1. I set the checkbox item Integer (TblSetItemInt(...)) for the same row and
column 0 (corresponding to the column that has checkboxes) to 1 and do
TblRedrawTable.  But the checkmark does not appear.  This is in the
HandleEvent routine for tblSelectEvent

2. I clone a new event from the current event but change the column to 0 and
add it to the event queue with EvtAddEventToQueue(...) but the checkmark
does not appear.

What needs to be done to accomplish this?  The checkmark seems to be
automatically toggled by the default processing, when you tap on the
checkbox.  I want to programmatically achieve the same thing when you tap on
other columns but clearly missing something.

Thanks for your help.

Sandeep Shah
K2 Consultants, Inc.




Reply via email to