Hi Joe.

Thanks for your answer. The reason is that I'm working on some
general-purpose functions that need to determine the visibility status at
runtime, ideally without the need of the programmer that using the functions
to supply the visibility status. Of course I could have a Boolean or similar
that is set by the programmer when a control is visible and cleared when
it's not, but it would be a little less clean interface to the support
routines.

Kind regards, Ola Theander

> -----Original Message-----
> From: Joe Programmer [mailto:[EMAIL PROTECTED]]
> Sent: den 29 november 2001 18:13
> To: Palm Developer Forum
> Subject: Re: HowTo: Programmatically determine if a button or 
> a list is
> visibl e?
> 
> 
> --- Ola Theander wrote:
> > I would like to know if you can programmatically
> > determine if a control e.g.
> > a button or a list is visible?
> 
> I'm wondering why you need to do it.  If it is one of
> your app's controls, then you made it visible or
> invisible and you should be able to "remember" that by
> setting some flag and checking the flag when you
> "forget".
> 
> If you're worried about lists poping up on top of some
> animation, look at the source code for the games to
> see how they handle it.
> 
> If it's something else, please elaborate.
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
> http://geocities.yahoo.com/ps/info1
> 
> -- 
> For information on using the Palm Developer Forums, or to 
> unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
> 

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