Does anyone have any suggestions on how to move from one field in a table
row to the next field?

In my first column, I have a popup list.  After I select the value, I want
the focus to be set onto the next column in that row.

Is setting another event to the queue the only way to do this?  If so, how
is it done?  I tried doing the following, but it didn't work.

Thanks for any help!



EventPtr    newEvent;
.
.
.

// Segment of my event handler case
case tblSelectEvent:
    // Get a pointer to the table
    table = GetObjectPtr(BigTable);
    if(event->data.tblSelect.column == COL_ONE)
    {
        EvtCopyEvent(event, newEvent);
        newEvent->data.tblSelect.column = COL_TWO;
        EvtAddEventToQueue(newEvent);
    }
    else if(event->data.tblSelect.column == COL_TWO)
    {
        fld = TblGetCurrentField(table);
        FldSetSelection(fld, 0, FldGetTextLength(fld));
    }
    handled = true;
    break;


+++++++++++++
Timothy D. Astle
Embedded Systems Programmer
ALT Group Inc.
+++++++++++++

"People who can smile when things go wrong has thought of someone else to
blame it on."



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to