Anyone have any suggestions on this.....I am getting frustrated!

Thanks for any help that someone can offer.

Very truly yours,

Rob G.
----- Original Message -----
From: Robert Graber <[EMAIL PROTECTED]>
To: Palm Developer Forum <[EMAIL PROTECTED]>
Sent: Wednesday, February 16, 2000 12:14 PM
Subject: Re: Field Attributes


> Neil,
>
> I tried your code, and it seems to have a problem with the
FldGetAttributes
> call.  It is supposed to send back a pointer to the field's attributes
> structure instead of wanting you to send an address to it.  I see your
> point, but this isn't quite there and I am still a little shaky with
> pointers and stuff.  Maybe after a few more days of these kinds of
problems
> I will begin to get a good grip on how to handle these types of quirks.
Any
> ideas?
>
> Very truly yours,
>
> Rob G.
> ----- Original Message -----
> From: Neil Rhodes <[EMAIL PROTECTED]>
> To: Palm Developer Forum <[EMAIL PROTECTED]>
> Sent: Wednesday, February 16, 2000 11:47 AM
> Subject: Re: Field Attributes
>
>
> > > I am trying to change the underline attribute of a field on the fly.
> > The whole point of FldGetAttributes is that you shouldn't directly
access
> > fldP->attr.
> >
> > good code:
> >
> > FieldPtr   fldP;
> > FieldAttrType attr;
> >
> >
> >   fldP = FrmGetObjectPtr(frm, MainField);
> >
> >   FldGetAttributes(fldP, &attr);
> >   attr.underlined = noUnderline;
> >   FldSetAttributes(fldP, &attr);
> >   FldDrawField(fldP);
> >
> >
> > original code:
> > > FieldPtr   fldP;
> > >  FieldAttrPtr attrP;
> > >  FieldType   fld;
> > >
> > >
> > >  fldP = FrmGetObjectPtr(frm, MainField);
> > >
> > >  attrP = &fld.attr;
> > >  FldGetAttributes(fldP, attrP);
> > >  attrP->underlined = noUnderline;
> > >  FldSetAttributes(fldP, attrP);
> > >  FldDrawField(fldP);
> >
> >
> >
> >
> > --
> > Neil Rhodes
> > Calliope Enterprises, Inc.
> > 1328 Clock Avenue
> > Redlands, CA  92374
> > (909) 793-5995     [EMAIL PROTECTED]      fax: (909) 793-2545
> >
> > --
> > For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palm.com/devzone/mailinglists.html
> >
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palm.com/devzone/mailinglists.html
>
>




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to