Enumerations | |
enum | wxPG_VALIDATION_FAILURE_BEHAVIOR_FLAGS { wxPG_VFB_STAY_IN_PROPERTY = 0x01, wxPG_VFB_BEEP = 0x02, wxPG_VFB_MARK_CELL = 0x04, wxPG_VFB_SHOW_MESSAGE = 0x08, wxPG_VFB_SHOW_MESSAGEBOX = 0x10, wxPG_VFB_SHOW_MESSAGE_ON_STATUSBAR = 0x20, wxPG_VFB_DEFAULT = wxPG_VFB_STAY_IN_PROPERTY|wxPG_VFB_BEEP, wxPG_VFB_UNDEFINED = 0x80 } |
wxPG_VFB_STAY_IN_PROPERTY |
Prevents user from leaving property unless value is valid. If this behavior flag is not used, then value change is instead cancelled. |
wxPG_VFB_BEEP |
Calls wxBell() on validation failure. |
wxPG_VFB_MARK_CELL |
Cell with invalid value will be marked (with red colour). |
wxPG_VFB_SHOW_MESSAGE |
Display a customizable text message explaining the situation. To customize the way the message is displayed, you need to reimplement wxPropertyGrid::DoShowPropertyError() in a derived class. Default behavior is to display the text on the top-level frame's status bar, if present, and otherwise using wxMessageBox. |
wxPG_VFB_SHOW_MESSAGEBOX |
Similar to wxPG_VFB_SHOW_MESSAGE, except always display the message using wxMessageBox. |
wxPG_VFB_SHOW_MESSAGE_ON_STATUSBAR |
Similar to wxPG_VFB_SHOW_MESSAGE, except always display the message on the status bar. |
wxPG_VFB_DEFAULT |
Defaults. |
wxPG_VFB_UNDEFINED |
Only used internally. |