> Maybe because its 6 am or maybe i just dont know my pointers, but i cant
get
> this to work, i keep getting "cannot convert a void pointer to fieldtype
> pointer
>
>
> static FieldPtr GetFocusObjectPtr (void)
> {
>  FormPtr frm;
>  UInt16 focus;
>
>  frm = FrmGetActiveForm ();
>  focus = FrmGetFocus (frm);
>
>  return (FrmGetObjectPtr (frm, focus));

  return (FieldPtr) FrmGetObjectPtr (frm, focus);

> }
>
>
> am i missing a cast somewhere?

yes


-- 
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