Keep in mind that I'm not an authority on this, but I don't see that the
"hasScrollbar" bit is supported. Yes, there's mention of it in the SDK
documents, but I think the tech writer just filled in a description for a field
that's not supported. There are a few checks of "hasScrollbar" in the sources,
but nothing that looks really functional. For instance, there's nothing to
create a scrollbar if "hasScrollBar" is true.
As for "search", the only place I could find it being set is in the Expense
application, where it's done directly:
// zzz API routine.
lst->attr.search = true;
-- Keith
Steve Mann <[EMAIL PROTECTED]> on 01/30/2001 05:54:26 PM
Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent by: Steve Mann <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
cc: (Keith Rollin/US/PALM)
Subject: Setting List Attributes
Does anyone know of a "legal" (by not directly accessing the data
structure) way to set the hasScrollBar and search attributes of a
list? You can't do it in Constructor, you can't do it by dynamically
creating a list with LstNewList, and there is no API to get and set
list attributes like you can with fields. I'm stumped. Any
suggestions would be welcome.
Regards,
Steve Mann
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/