ShowRecCount 

Syntax

object.ShowRecCount  bShow

bShow - Specifies the further visibility of the record counter display field (0 or 1).

Description

Call this method to show / hide record counter display field of  ELS-QB component.

Remarks

ShowRecCount method returns True if the operation was successful, False otherwise.

Example

This sample code shows how to allow the end user to toggle counter display field of ELS-QB control.

gbShowRecCount = True

' Some command handler

Private Sub itmCmdToggleRecCountDisplay_Click()

    If ELS_QBCtrl.ShowRecCount(Not gbShowRecCount) Then

 gbShowRecCount = Not gbShowRecCount

    End If

 End Sub