I'm setting up a form and making sure things work. As far as the reference manual goes I have spent quite a bit of time with it. Unfortunately the information on tables in the reference manual and companion guides are useless. There are no clear examples of placing text in a text field without it coming from a database. There are no examples of changing the attributes for the text field. I don't see how your comment is constructive or helpful. On the other hand if you have an example of placing one item into a text field and changing the attributes for that item that would be helpful.
Neil ----- Original Message ----- From: "John Leung" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Wednesday, December 17, 2003 12:09 PM Subject: Re: table static text problem > 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/ > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
