## wxPropertyFormView

The wxPropertyFormView class shows a wxPropertySheet as a view onto a panel or dialog box which has already been created.

See also

wxPropertyFormView overview

Members

wxPropertyFormView::wxPropertyFormView
wxPropertyFormView::~wxPropertyFormView
wxPropertyFormView::AssociateNames
wxPropertyFormView::Check
wxPropertyFormView::GetPanel
wxPropertyFormView::GetManagedWindow
wxPropertyFormView::OnOk
wxPropertyFormView::OnCancel
wxPropertyFormView::OnHelp
wxPropertyFormView::OnRevert
wxPropertyFormView::OnUpdate
wxPropertyFormView::SetManagedWindow
wxPropertyFormView::TransferToDialog
wxPropertyFormView::TransferToPropertySheet

### wxPropertyFormView::wxPropertyFormView

void wxPropertyFormView(long flags = 0)

Constructor.

### wxPropertyFormView::~wxPropertyFormView

void ~wxPropertyFormView()

Destructor.

### wxPropertyFormView::AssociateNames

void AssociateNames()

Associates the properties with the controls on the panel. For each panel item, if the panel item name is the same as a property name, the two objects will be associated. This function should be called manually since the programmer may wish to do the association manually.

### wxPropertyFormView::Check

bool Check()

Checks all properties by calling the appropriate validators; returns FALSE if a validation failed.

### wxPropertyFormView::GetPanel

wxPanel * GetPanel()

Returns the panel associated with the view.

### wxPropertyFormView::GetManagedWindow

wxWindow * GetManagedWindow()

Returns the managed window (a frame or dialog) associated with the view.

### wxPropertyFormView::OnOk

void OnOk()

Virtual function that will be called when the OK button on the physical window is pressed. By default, checks and updates the form values, closes and deletes the frame or dialog, then deletes the view.

### wxPropertyFormView::OnCancel

void OnCancel()

Virtual function that will be called when the Cancel button on the physical window is pressed. By default, closes and deletes the frame or dialog, then deletes the view.

### wxPropertyFormView::OnHelp

void OnHelp()

Virtual function that will be called when the Help button on the physical window is pressed. This needs to be overridden by the application for anything interesting to happen.

### wxPropertyFormView::OnRevert

void OnRevert()

Virtual function that will be called when the Revert button on the physical window is pressed. By default transfers the wxProperty values to the panel items (in effect undoing any unsaved changes in the items).

### wxPropertyFormView::OnUpdate

void OnUpdate()

Virtual function that will be called when the Update button on the physical window is pressed. By defaults transfers the displayed values to the wxProperty objects.

### wxPropertyFormView::SetManagedWindow

void SetManagedWindow(wxWindow *win)

Sets the managed window (a frame or dialog) associated with the view.

### wxPropertyFormView::TransferToDialog

bool TransferToDialog()

Transfers property values to the controls in the dialog.

### wxPropertyFormView::TransferToPropertySheet

bool TransferToPropertySheet()

Transfers property values from the controls in the dialog to the property sheet.