Quick search:


How to make an options list

Options lists usually occur in EditDetailsPages, instances of subclasses of PntObjectEditDetailsPage. They are used to select a property value from a list. Usually all you need to do to make the user interface present an options list in an EditDetailsPage is make a derived property whose type is a sublcass of PntObject. See example 3.

Options lists are retrieved through the property options, which are part of the peanuts component model. See How to define options for a property.

Custom option lists may be created by custom pages or page parts using an instance of PntSelectWidget.