You pointed me to the information for a regular text field.  I've been there
and read that.  I'm looking for table specific fields.  I need to set the
field attributes for a text field in a table instead of using a label or
custom draw type.  Nowhere on that page does it say how to accomplish this
unless your setting up a regular text field and have the option of setting
the no underline non editable options.  If the labels in a table displayed
correctly I would use them but they don't.

Neil





----- Original Message ----- 
From: "Vu Pham" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Wednesday, December 17, 2003 5:20 PM
Subject: Re: table static text problem


> Neil,
>
> IMHO, when you show your code, it means you 've spent some time to read
the
> documents. But your code and what you asked seems pretty far from each
> other. That's why J. Leung suggested that you read the manuals.
>
> If you search a little bit on PalmOS site, you would find this easily.
>
http://www.palmos.com/dev/support/docs/recipes/fields_with_static_text.html
>
> If it is not what you expect, check the left bar on that URL, there are a
> lot more.
>
> Vu
>
>
> ----- Original Message ----- 
> From: "Neil Fallon" <[EMAIL PROTECTED]>
> To: "Palm Developer Forum" <[EMAIL PROTECTED]>
> Sent: Wednesday, December 17, 2003 3:38 PM
> Subject: Re: table static text problem
>
>
> > 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/
> >
>
>
> -- 
> 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/

Reply via email to