Class: Wx::PG::PGVFBFlags

Inherits:
Enum
  • Object
show all
Defined in:
lib/wx/doc/gen/pg/pg_validation_info.rb

Overview

PropertyGrid Validation Failure behaviour Flags

wxPropertyGrid Validation Failure behaviour Flags

Requires:

  • USE_PROPGRID

Constant Summary collapse

Null =
Wx::PG::PGVFBFlags.new(0)
StayInProperty =

Prevents user from leaving property unless value is valid.

Wx::PG::PGVFBFlags.new(1)
Beep =

Calls bell on validation failure.

Wx::PG::PGVFBFlags.new(2)
MarkCell =

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

Wx::PG::PGVFBFlags.new(4)
ShowMessage =

Display a text message explaining the situation.

Wx::PG::PGVFBFlags.new(8)
ShowMessageBox =

Similar to SHOW_MESSAGE, except always displays the message using MessageBox.

Wx::PG::PGVFBFlags.new(16)
ShowMessageOnStatusBar =

Similar to SHOW_MESSAGE, except always displays the message on the status bar (when present - you can reimplement Wx::PG::PropertyGrid#get_status_bar in a derived class to specify this yourself).

Wx::PG::PGVFBFlags.new(32)
Default =

Defaults.

Wx::PG::PGVFBFlags.new(20)
Undefined =
Wx::PG::PGVFBFlags.new(64)

Method Summary

Methods inherited from Enum

#!, #&, #<=>, [], #allbits?, #anybits?, #coerce, enumerators, #eql?, #initialize, #inspect, #integer?, #method_missing, #nobits?, non_distinct, #real?, set_non_distinct, #succ, #to_int, #to_s, #|, #~

Constructor Details

This class inherits a constructor from Wx::Enum

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Wx::Enum