]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/propstfv.tex
ugh. Nesting the (per class) plugin sentries can require them to
[wxWidgets.git] / docs / latex / wx / propstfv.tex
CommitLineData
200fed6c
VS
1\section{\class{wxStringFormValidator}}\label{wxstringformvalidator}
2
200fed6c
VS
3This class validates a string value for a form view, with an optional choice of possible values.
4The associated panel item must be a wxText, wxListBox or wxChoice. For wxListBox and wxChoice items,
5if the item is empty, the validator attempts to initialize the item from the strings in
6the validator. Note that this does not happen for XView wxChoice items since XView cannot reinitialize a wxChoice.
fa482912
JS
7
8\wxheading{See also}
9
10\helpref{Validator classes}{proplistvalidatorclasses}
11
12\latexignore{\rtfignore{\wxheading{Members}}}
13
200fed6c
VS
14\membersection{wxStringFormValidator::wxStringFormValidator}
15
16\func{void}{wxStringFormValidator}{\param{wxStringList *}{list=NULL}, \param{long}{ flags=0}}
17
18Constructor. Supply a list of strings to indicate a choice, or no strings to allow the
19user to freely edit the string. The string list will be deleted when the validator is deleted.
20