ActiveReports Developer 7
Select(Object) Method
See Also  Example
GrapeCity.ActiveReports.Design.Win.v7 Assembly > GrapeCity.ActiveReports.Design Namespace > Selection Class > Select Method : Select(Object) Method

selectedObject
Object to select.

Glossary Item Box

Allows one object to be selected in the designer.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub Select( _
   ByVal selectedObject As System.Object _
) 
C# 
public void Select( 
   System.object selectedObject
)

Parameters

selectedObject
Object to select.

Example

C#Copy Code
/// <summary>
/// cboPropList_SelectedIndexChanged - runs with the Property List Drop Down is changed
/// </summary>
private void cboPropList_SelectedIndexChanged(object sender, System.EventArgs e)
{
    this.ardMain.Selection.Select(((ARComboItem)this.comboHashTable[this.cboPropList.SelectedItem.ToString()]).Item);
}
Visual BasicCopy Code
'cboPropList_SelectedIndexChanged - runs with the Property List Drop Down is changed
Private Sub cboPropList_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles cboPropList.SelectedIndexChanged
    Me.ardMain.Selection.Select(CType(Me.comboHashTable(Me.cboPropList.SelectedItem.ToString()), ARComboItem).Item)
End Sub 'cboPropList_SelectedIndexChanged

See Also