I am implementing a custom control using a gadget. I want to know how to get the gadget data when the form sends the formGadgetDeleteCmd. I am using the following code but the ActiveForm is coming back as NULL.
FormType *form = FrmGetActiveForm(); GadgetData *data = ( GadgetData * )FrmGetGadgetData( form, FrmGetObjectIndexFromPtr( form, gadgetType ) ); I do not know the gadget ID, nor do I have access to the form! How else can I get the gadget data that is stored in the OPAQUE FormGadgetType * passed in to the event handler??? Thanks, Brad Figler -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
