I have a table with an editable column. There is a "next" button and when 
the user hits this button the cell in the next row of the same column should 
be highlighted. Then when the enters graffiti characters the selected text 
should be replaced. Though the selection works fine and the next cell is 
selected typing graffiti does not replace the selected characters. My code 
is attached below. currentSelectedField is an int representing the currently 
selected row.If possible, please let me know what I may be doing wrong?

currentSelectedField++;
TblReleaseFocus(tableP);
TblUnhighlightSelection(tableP);
TblGrabFocus(tableP,currentSelectedField, 1);
currField = TblGetCurrentField(tableP);
textLength = FldGetTextLength(currField);
FldSetSelection(currField,0,textLength);
FldGrabFocus(currField);


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


-- 
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