Actually it is interesting, that when I am using
 FldSetTextHandle(), it is not necessary to call FldRecalculateField, but
usually it is necessary to call FldRecalculateField after calling
FldSetTextPtr.

Can anyone explain?

Regards,
Igor


"Pedro Cabrera C�mara" <[EMAIL PROTECTED]> wrote in message
news:47753@palm-dev-forum...
>
>
> "Pedro Cabrera C�mara" <[EMAIL PROTECTED]> escribi� en el mensaje
news:...
> > You must use the "FldRecalculateField()" function { before the
> > "FldDrawField()" } to see the changes on your Form .
> >
> > > My code is as follows but it does not show me the text on screen what
> may
> > be
> > > the problem?
> > >
> > >
> > > Char* test;
> > > test = "MyText";
> > > FormPtr frm = FrmGetActiveForm();
> > > FieldPtr fldPtr = (FieldPtr) FrmGetObjectPtr(frm,
FrmGetObjectIndex(frm,
> > > fieldId));
> > > FldSetTextPtr(fldPtr,test);
> > > FldDrawField(fldPtr);
> > >
> > > I do not know whether anything extra is to be done for c++.
> > >
> > > Regards,
> > > Kapil.
> > >
> > >
> > >
> >
> >
>
>
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to