]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/propforv.tex
documented 2nd prototype of wxListCtrl::SetItem
[wxWidgets.git] / docs / latex / wx / propforv.tex
CommitLineData
200fed6c
VS
1\section{\class{wxPropertyFormValidator}}\label{wxpropertyformvalidator}
2
3\overview{wxPropertyFormValidator overview}{wxpropertyformvalidatoroverview}
4
5The {\bf wxPropertyFormValidator} class defines a base class for form validators. By overriding virtual functions,
6the programmer can create custom behaviour for kinds of property.
7
8\membersection{wxPropertyFormValidator::wxPropertyFormValidator}
9
10\func{void}{wxPropertyFormValidator}{\param{long}{ flags = 0}}
11
12Constructor.
13
14\membersection{wxPropertyFormValidator::\destruct{wxPropertyFormValidator}}
15
16\func{void}{\destruct{wxPropertyFormValidator}}{\void}
17
18Destructor.
19
20\membersection{wxPropertyFormValidator::OnCommand}
21
22\func{Bool}{OnCommand}{\param{wxProperty *}{property}, \param{wxPropertyFormView *}{view},
23 \param{wxWindow *}{parentWindow}, \param{wxCommandEvent\& }{event}}
24
25Called when the control corresponding to the property receives a command (if not intercepted
26by a callback associated with the actual control).
27
28\membersection{wxPropertyFormValidator::OnCheckValue}
29
30\func{Bool}{OnCheckValue}{\param{wxProperty *}{property}, \param{wxPropertyFormView *}{view},
31 \param{wxWindow *}{parentWindow}}
32
33Called when the view checks the property value. The value checked by this validator should be taken from the
34panel item corresponding to the property.
35
36\membersection{wxPropertyFormValidator::OnDisplayValue}
37
38\func{Bool}{OnDisplayValue}{\param{wxProperty *}{property}, \param{wxPropertyFormView *}{view},
39 \param{wxWindow *}{parentWindow}}
40
41Should display the property value in the appropriate control.
42
43\membersection{wxPropertyFormValidator::OnDoubleClick}
44
45\func{Bool}{OnDoubleClick}{\param{wxProperty *}{property}, \param{wxPropertyFormView *}{view},
46 \param{wxWindow *}{parentWindow}}
47
48Called when the control corresponding to the property is double clicked (listboxes only).
49
50\membersection{wxPropertyFormValidator::OnRetrieveValue}
51
52\func{Bool}{OnRetrieveValue}{\param{wxProperty *}{property}, \param{wxPropertyFormView *}{view},
53 \param{wxWindow *}{parentWindow}}
54
55Should do the transfer from the property editing area to the property itself.
56
57