Like wxStringProperty, but has a button that triggers a small text editor dialog. More...
#include <props.h>

Public Member Functions | |
| virtual wxString | GetValueAsString (int argFlags=0) const |
| virtual bool | OnButtonClick (wxPropertyGrid *propgrid, wxString &value) |
| virtual bool | StringToValue (wxVariant &variant, const wxString &text, int argFlags=0) const |
| wxLongStringProperty (const wxString &label=wxPG_LABEL, const wxString &name=wxPG_LABEL, const wxString &value=wxEmptyString) | |
| virtual | ~wxLongStringProperty () |
Static Public Member Functions | |
| static bool | DisplayEditorDialog (wxPGProperty *prop, wxPropertyGrid *propGrid, wxString &value) |
Like wxStringProperty, but has a button that triggers a small text editor dialog.
Definition at line 805 of file props.h.
| wxLongStringProperty::wxLongStringProperty | ( | const wxString & | label = wxPG_LABEL, |
|
| const wxString & | name = wxPG_LABEL, |
|||
| const wxString & | value = wxEmptyString | |||
| ) |
| virtual wxLongStringProperty::~wxLongStringProperty | ( | ) | [virtual] |
| static bool wxLongStringProperty::DisplayEditorDialog | ( | wxPGProperty * | prop, | |
| wxPropertyGrid * | propGrid, | |||
| wxString & | value | |||
| ) | [static] |
| virtual wxString wxLongStringProperty::GetValueAsString | ( | int | argFlags = 0 |
) | const [virtual] |
Returns text representation of property's value. Generally this function should not be called from the application code. Instead, call GetValueString().
| argFlags | If wxPG_FULL_VALUE is set, returns complete, storable string value instead of displayable. If wxPG_EDITABLE_VALUE is set, returns string value that must be editable in textctrl. If wxPG_COMPOSITE_FRAGMENT is set, returns text that is appropriate to display as a part of composite property string value. |
Reimplemented from wxPGProperty.
| virtual bool wxLongStringProperty::OnButtonClick | ( | wxPropertyGrid * | propgrid, | |
| wxString & | value | |||
| ) | [virtual] |
Reimplemented in wxDirProperty.
| virtual bool wxLongStringProperty::StringToValue | ( | wxVariant & | variant, | |
| const wxString & | text, | |||
| int | argFlags = 0 | |||
| ) | const [virtual] |
Converts 'text' into proper value 'variant'. Returns true if new (different than m_value) value could be interpreted from the text.
| argFlags | If wxPG_FULL_VALUE is set, returns complete, storable value instead of displayable one (they may be different). If wxPG_COMPOSITE_FRAGMENT is set, text is interpreted as a part of composite property string value (as generated by GetValueAsString() called with this same flag). |
Reimplemented from wxPGProperty.