That's exactly what FrmHideObject and FrmShowObject 
hmm never dawned on me to try those

static Boolean frmMain_hideButton_OnSelect(EventPtr event)
{
        // Insert code for hideButton
        // Insert code for showButton
        FormPtr frm;
        UInt16 listID;
        
        frm = FrmGetActiveForm ();      
        FrmHideObject (frm, FrmGetObjectIndex (frm, frmList1));
        return true;
}

thanks

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

Reply via email to