1 \section{\class{wxPropertyFormValidator
}}\label{wxpropertyformvalidator
}
3 \overview{wxPropertyFormValidator overview
}{wxpropertyformvalidatoroverview
}
5 The
{\bf wxPropertyFormValidator
} class defines a base class for form validators. By overriding virtual functions,
6 the programmer can create custom behaviour for kinds of property.
8 \membersection{wxPropertyFormValidator::wxPropertyFormValidator
}
10 \func{void
}{wxPropertyFormValidator
}{\param{long
}{ flags =
0}}
14 \membersection{wxPropertyFormValidator::
\destruct{wxPropertyFormValidator
}}
16 \func{void
}{\destruct{wxPropertyFormValidator
}}{\void}
20 \membersection{wxPropertyFormValidator::OnCommand
}
22 \func{Bool
}{OnCommand
}{\param{wxProperty *
}{property
},
\param{wxPropertyFormView *
}{view
},
23 \param{wxWindow *
}{parentWindow
},
\param{wxCommandEvent\&
}{event
}}
25 Called when the control corresponding to the property receives a command (if not intercepted
26 by a callback associated with the actual control).
28 \membersection{wxPropertyFormValidator::OnCheckValue
}
30 \func{Bool
}{OnCheckValue
}{\param{wxProperty *
}{property
},
\param{wxPropertyFormView *
}{view
},
31 \param{wxWindow *
}{parentWindow
}}
33 Called when the view checks the property value. The value checked by this validator should be taken from the
34 panel item corresponding to the property.
36 \membersection{wxPropertyFormValidator::OnDisplayValue
}
38 \func{Bool
}{OnDisplayValue
}{\param{wxProperty *
}{property
},
\param{wxPropertyFormView *
}{view
},
39 \param{wxWindow *
}{parentWindow
}}
41 Should display the property value in the appropriate control.
43 \membersection{wxPropertyFormValidator::OnDoubleClick
}
45 \func{Bool
}{OnDoubleClick
}{\param{wxProperty *
}{property
},
\param{wxPropertyFormView *
}{view
},
46 \param{wxWindow *
}{parentWindow
}}
48 Called when the control corresponding to the property is double clicked (listboxes only).
50 \membersection{wxPropertyFormValidator::OnRetrieveValue
}
52 \func{Bool
}{OnRetrieveValue
}{\param{wxProperty *
}{property
},
\param{wxPropertyFormView *
}{view
},
53 \param{wxWindow *
}{parentWindow
}}
55 Should do the transfer from the property editing area to the property itself.