are you possibly using an old FormPtr ?

On 12/31/06, Ron <[EMAIL PROTECTED]> wrote:
>
> Greetings,
> I thought I had gotten how to add Dynamic UI on a Resource created form,
> but it doesn't work as I planned. The UI show over the Resource Form... but
> the event handlers for that form no longer work.
> If someone could help me with understanding why this is here is an example
> of how I would create a textbox over a resource form MainForm:
> ----------------
> FormPtr frm;
> FieldPtr fldNew;
>
> FrmInitForm(MainForm);
> frm = FrmGetFormPtr(MainForm);
> FrmDrawForm(frm);
> FrmSetActiveForm(frm);
>
> fldNew = FldNewField (
>                   (void **)&frm,
>                   1234,
>                   40,20,
>                   50,15,
>                   stdFont,
>                   80,
>                   true,
>                   grayUnderline,
>                   true,
>                   false,
>                   leftAlign,
>                   true,
>                   false,
>                   false
>           );
> FldSetUsable(fldNew,true);
> FldSetInsertionPoint(fldNew,0);
> FldDrawField(fldNew);
> ----------------------------
>
> After doing this, clicking on the menus or any other form event won't
> work.
>
> Thank you and have a great New Year :)
> --
> For information on using the PalmSource Developer Forums, or to
> unsubscribe, please see http://www.palmos.com/dev/support/forums/
>



-- 
Best Regards, Dmitry Grinberg
Software Engineer, http://PalmPowerups.com
(847) 226 9295
AIM: DmitryGrinberg
MSN: [EMAIL PROTECTED]
ICQ: 165589894
Y! IM: dmitrygr2003

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

Reply via email to