SetResultEditMode 

Syntax

object.SetResultEditMode  bOn

bOn - Specifies  the further editability of query Results (0 or 1).

Description

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

Remarks

SetResultEditMode method returns True if operation successful.

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

Public Sub itmCommandToggleResulEditMode_Click()

    bEdit = ELS_QBCtrl.GetResultEditMode

    ELS_QBCtrl.SetResultEditMode Not bEdit

End Sub