I don't see you inserting anything into any text field. You didn't even get the handle to the field and modify the field. All you were trying to do is to draw something on screen. And what is the purpose of calling TblGetSelection in your code? You didn't even attempt to retrieve anything! You need to spend some more time with the reference manual.
On 17 Dec 2003 at 11:12, Neil Fallon wrote: > I'm trying to insert some static text into a text field in a table but for > some reason it's not going in. The following is the code that I am using. > There must be something wrong with it but I can't see it. > > TblSetItemStyle (tableP, 0, 0, textTableItem); > > myText = "Labor Rate"; > TblGetSelection(tableP, 0, 0); > TblGetItemBounds(tableP, 0, 0, &bounds); > WinDrawChars(myText, StrLen(myText),bounds.topLeft.x, bounds.topLeft.y); > > > Neil > > > > -- > For information on using the Palm Developer Forums, or to unsubscribe, please > see http://www.palmos.com/dev/support/forums/ > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
