ActiveReports 9
Select Method (Selection)
Example 

The Select method allows one or more objects to be selected in the designer.
Overload List
OverloadDescription
Select(Object)Allows one object to be selected in the designer.  
Select(Object,Boolean)Allows more than one item to be selected in the designer.  
Example
/// <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);
}
'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

Reference

Selection Class
Selection Members

 

 


Copyright © 2016 GrapeCity, inc. All rights reserved

Support Forum