ActiveReports6 Assembly > DataDynamics.ActiveReports Namespace > ARControl Class : Tag Property |
Private void designer1_StatusChanged(object sender, System.EventArgs e) { For(int i=0;i<this.tlbReport.Buttons.Count;i++) { System.Windows.Forms.ToolBarButton tb = this.tlbReport.Buttons[i]; If(tb.Tag != null) { setStatus(tb.Tag.ToString(),tb); } } }
Private Sub Designer1_StatusChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles Designer1.StatusChanged For i = 0 To Me.tlbReport.Buttons.Count - 1 Dim tb As New System.Windows.Forms.ToolBarButton() tb = Me.tlbReport.Buttons(i) If tb.Tag Is Nothing = False Then setStatus(tb.Tag, tb) End If Next End Sub
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