1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
<HTML>
<head><title>Introduction</title></head>
<BODY BGCOLOR=#FFFFFF>
<A NAME="introduction"></A><CENTER>
<A HREF="prop.htm"><img align=center src="contents.gif" BORDER=0 ALT="Contents"></A> <A HREF="prop.htm"><img align=center src="up.gif" BORDER=0 ALT="Up"></A> <A HREF="prop1.htm#topic0"><img align=center src="back.gif" BORDER=0 ALT="Previous"></A> <A HREF="prop3.htm#appearance"><img align=center src="forward.gif" BORDER=0 ALT="Next"></A> </CENTER><HR>
<H2>Introduction</H2>
The Property Sheet Classes help the programmer to specify complex dialogs and
their relationship with their associated data. By specifying data as a
wxPropertySheet containing wxProperty objects, the programmer can use
a range of available or custom wxPropertyView classes to allow the user to
edit this data. Classes derived from wxPropertyView act as mediators between the
wxPropertySheet and the actual window (and associated panel items).<P>
For example, the wxPropertyListView is a kind of wxPropertyView which displays
data in a Visual Basic-style property list (see <A HREF="prop3.htm#appearance">the next section</A> for
screen shots). This is a listbox containing names and values, with
an edit control and other optional controls via which the user edits the selected
data item.<P>
wxPropertyFormView is another kind of wxPropertyView which mediates between
the data and a panel or dialog box which has already been created. This makes it a contender for
the replacement of wxForm, since programmer-controlled layout is going to be much more
satisfactory. If automatic layout is desired, then wxPropertyListView could be used instead.<P>
The main intention of this class library was to provide property <I>list</I> behaviour, but
it has been generalised as much as possible so that the concept of a property sheet and its viewers
can reduce programming effort in a range of user interface tasks.<P>
For further details on the classes and how they are used, please see <A HREF="prop189.htm#propertyoverview">Property classes overview</A>.<P>
<A HREF="prop3.htm#appearance"><B>The appearance and behaviour of a property list view</B></A><BR>
</BODY></HTML>
|