ActiveReports 9
Selection Class
Members  Example 

Indicates the currently selected items in the report layout.

Object Model
Selection Class
Syntax
'Declaration
 
Public Class Selection 
public class Selection 
Example
// cboPropList_SelectedIndexChanged - runs when the Property List Drop Down is changed

private void cboPropList_SelectedIndexChanged(object sender, System.EventArgs e)
{
    this.ardMain.Selection.Select(((ARComboItem)this.comboHashTable[this.cboPropList.SelectedItem.ToString()]).Item);
}
'cboPropList_SelectedIndexChanged - runs when 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
Inheritance Hierarchy

System.Object
   GrapeCity.ActiveReports.Design.Selection

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Selection Members
GrapeCity.ActiveReports.Design Namespace

 

 


Copyright © 2014 GrapeCity, inc. All rights reserved

Support Forum