SetResultEditMode 

Syntax:             BOOL SetResultEditMode ( BOOL bOn);

Return Value:    TRUE if operation successful.

Parameters:

                        bOn      Toggles the editability of the whole grid of the Result tab ON / OFF.

Remarks:

Call this method to toggle edit mode of Result tab of ELS-QB component.

Note: by default (i.e if SetResultEditMode function is not used yet) the grid of Result tab is non-editable.

Example:

This sample code shows how to allow the end user to toggle edit mode of Result tab Grid of ELS-QB control.

// Some command handler

void CELS_QBDemoView::OnCommandToggleGridEditMode()

{

BOOL bEdit = m_QBCtrl.GetResultEditMode();

m_QBCtrl.SetResultEditMode(!bEdit);

}