The solution is to call TblSetColumnEditIndicator(tableP, editDataColumn, false);
I guess this wasn't needed in the Address app since the 2nd column of all rows had a style of textTableItem. However, in my table, some rows were customTableItem which appears to have changed the default for masking. Hope this helps someone else...it drove me crazy all day today! Thanks... Dave "Dave Lasker" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > I am building an application which has a 2-column table similar to the > built-in Address application's Edit form. I built it by using AddrEdit.c as > a starting point. > > When the folling code is run: > > FrmSetFocus(frmP, tableIndex); > TblGrabFocus (tableP, row, editDataColumn); > fldP = TblGetCurrentField(tableP); > FldGrabFocus (fldP); > > The editDataColumn of the table is a textTableItem as in the Address > application. > > In some cases TblGrabFocus causes the entire row to be highlighted (which is > bad - this covers up the text entry field), and in other cases, just the > left column is highlighted (which is what I want). I can't see any rhyme or > reason for this. > > As an example, if the original Address application code is run which changes > the font to bold is run, I get the desired result, but if the font is not > changed, the entire row remains highlighted. > > Can anyone explain this, and tell me how to ensure that just the leftmost > column is highlighted? > > Thanks... > > Dave > > > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
