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