RVC::UI::DLG_DB_FIELD_VALUE Class Reference
Base for database field value view/edit dialogs.
More...
#include <rvc/uidlgdbfieldvalue.h>
List of all members.
Detailed Description
Base for database field value view/edit dialogs.
Constructor & Destructor Documentation
| RVC::UI::DLG_DB_FIELD_VALUE::DLG_DB_FIELD_VALUE |
( |
const MISTRING & |
title, |
|
|
SETTINGS & |
settings, |
|
|
HELPID |
helpid = HELPID__None, |
|
|
DLGSHELL::STYLE |
dlgstyle = STYLE_Default | |
|
) |
| | |
| virtual RVC::UI::DLG_DB_FIELD_VALUE::~DLG_DB_FIELD_VALUE |
( |
|
) |
[virtual] |
Member Function Documentation
| bool RVC::UI::DLG_DB_FIELD_VALUE::GetAllowEdit |
( |
|
) |
const [inline] |
Get whether allowed to edit.
| INT32 RVC::UI::DLG_DB_FIELD_VALUE::GetFieldNumFor |
( |
|
) |
const [inline] |
| const RVC::DBTABLE& RVC::UI::DLG_DB_FIELD_VALUE::GetTableFor |
( |
|
) |
const [inline] |
Get value, placing in appropriate field in record.
- Parameters:
-
| record | Record to place value into |
| void RVC::UI::DLG_DB_FIELD_VALUE::NotifyValueChanged |
( |
|
) |
[protected] |
Notify via delegate that value has changed.
Set delegate to call when user explicitly closes dialog.
| void RVC::UI::DLG_DB_FIELD_VALUE::SetDelegateOnValueChanged |
( |
DELEGATE_VOID_INT32 |
delegate |
) |
[inline] |
Set delegate to call when value changed.
Delegate will be passed field number as parameter.
Setup with table and field to view/edit values for.
Must be done only once and before dialog is created.
- Parameters:
-
| ObjTable | Table view/edit field value for |
| FieldNum | Field to view/edit |
Set value from appropriate field in record.
- Parameters:
-
| record | Record to set value from |
Get value, placing in appropriate field in record.
- Parameters:
-
| record | Record to place value into |
| virtual ERRVALUE RVC::UI::DLG_DB_FIELD_VALUE::v_Setup |
( |
const RVC::DBTABLE & |
ObjTable |
) |
[private, pure virtual] |
Setup with table to view/edit values for.
- Parameters:
-
| ObjTable | Table view/edit field value for |
Set value from appropriate field in record.
- Parameters:
-
| record | Record to set value from |
| virtual void RVC::UI::DLG_DB_FIELD_VALUE::v_UpdateSettings |
( |
|
) |
[private, pure virtual] |
Update settings to current state.
The documentation for this class was generated from the following file: