phoenix_title wx.propgrid.PG_VALIDATION_FAILURE_BEHAVIOR_FLAGS

The PG_VALIDATION_FAILURE_BEHAVIOR_FLAGS enumeration provides the following values:

Description

Value

wx.propgrid.PG_VFB_STAY_IN_PROPERTY

Prevents user from leaving property unless value is valid.

wx.propgrid.PG_VFB_BEEP

Calls wx.Bell on validation failure.

wx.propgrid.PG_VFB_MARK_CELL

Cell with invalid value will be marked (with red colour).

wx.propgrid.PG_VFB_SHOW_MESSAGE

Display a text message explaining the situation.

wx.propgrid.PG_VFB_SHOW_MESSAGEBOX

Similar to wx.propgrid.PG_VFB_SHOW_MESSAGE, except always displays the message using MessageBox.

wx.propgrid.PG_VFB_SHOW_MESSAGE_ON_STATUSBAR

Similar to wx.propgrid.PG_VFB_SHOW_MESSAGE, except always displays the message on the status bar (when present - you can reimplement wx.propgrid.PropertyGrid.GetStatusBar in a derived class to specify this yourself).

wx.propgrid.PG_VFB_DEFAULT

Defaults.