-----Original Message-----
From: John Leung [mailto:[EMAIL PROTECTED]]
Sent: Monday, 7 January 2002 1:51 PM
To: Palm Developer Forum
Subject: Re: How to remove a listbox ?
> I believe FrmShowObject and FrmHideObject won't work on a ListType
> object under OS 3.3 and lower devices. You can give it a try on the
> emulator.
Do you refer to a well-known bug in FrmHideObject in pre 3.3 ? Actually it
does hiding, but does not change 'usable' flag which might affect redrawing
the form (e.g. at formUpdateEvent).
To make it certain, you check PlamOS version and set usable flag manually
(in addition to FrmHideObject) for PalmOS <= 3.3. It might be a good idea
to have this function in PalmOSGlue library, because it is rather common.
Anyway, with version check it will be forward compatible, though Poser might
not like it...
Michael
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/