1999-12-25 15:30:32 -05:00
|
|
|
\section{\class{wxListOfStringsListValidator}}\label{wxlistofstringslistvalidator}
|
|
|
|
|
|
|
|
This class validates a list of strings for a list view. When editing the property,
|
|
|
|
a dialog box is presented for adding, deleting or editing entries in the list.
|
|
|
|
At present no constraints may be supplied.
|
|
|
|
|
|
|
|
You can construct a string list property value by constructing a wxStringList object.
|
|
|
|
|
|
|
|
For example:
|
|
|
|
|
|
|
|
\begin{verbatim}
|
|
|
|
myListValidatorRegistry.RegisterValidator((wxString)"stringlist",
|
|
|
|
new wxListOfStringsListValidator);
|
|
|
|
|
|
|
|
wxStringList *strings = new wxStringList("earth", "fire", "wind", "water", NULL);
|
|
|
|
|
|
|
|
sheet->AddProperty(new wxProperty("fred", strings, "stringlist"));
|
|
|
|
\end{verbatim}
|
|
|
|
|
2000-03-14 19:21:49 -05:00
|
|
|
\wxheading{See also}
|
|
|
|
|
|
|
|
\helpref{Validator classes}{proplistvalidatorclasses}
|
|
|
|
|
|
|
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
|
|
|
1999-12-25 15:30:32 -05:00
|
|
|
\membersection{wxListOfStringsListValidator::wxListofStringsListValidator}
|
|
|
|
|
|
|
|
\func{void}{wxListOfStringsListValidator}{\param{long}{ flags=0}}
|
|
|
|
|
|
|
|
Constructor.
|
|
|
|
|