I tried ti add some functionality to the List.h void LstGetAttributes( const ListType*, ListAttrType* ); void LstSetAttributes( ListType*, const ListAttrType* ); listPtr->attr.visible listPtr->attr.usable or Char *LstSetUsable (const ListType *listP, Int16 usable)
but then realized it would not be compatible for future revisions of my compiler SO I needed a custom wraper that could do get the attr then change an attribute and then write back the attr. listPtr = FrmGetObjectPtr (form, FrmGetObjectIndex (form, list1)); LstGetAttributes(listPtr, &attr); attr.usable = false; LstSetAttributes (listPtr, &attr); however looking at the List.h header , verses the Field.h header one will see there are no functions for this. Reason > I open a new form that has multiple Lists on it, and I must over lap them so each time a selection is made, another one opens, and the first one closes, IE setting the attributes tohide the list or make it visible. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
