ActiveReports 9
Prompt Property (Parameter)
Example 

Parameter caption used in the parameters input dialog to prompt the user to input a parameter value.
Syntax
'Declaration
 
Public Property Prompt As System.String
public System.string Prompt {get; set;}

Property Value

A string value used to prompt the user for a parameter value.
Example
private void SectionReport1_ReportStart(object sender, System.EventArgs eArgs)
{
    this.Parameters[0].DefaultValue = "Germany";
    this.Parameters[0].Key = "country";
    this.Parameters[0].Prompt = "Country: ";
    this.Parameters[0].Tag = "some extra data";
    this.Parameters[0].Type = GrapeCity.ActiveReports.SectionReportModel.Parameter.DataType.String;
}
Private Sub SectionReport1_ReportStart(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.ReportStart
    Me.Parameters(0).DefaultValue = "Germany"
    Me.Parameters(0).Key = "country"
    Me.Parameters(0).Prompt = "Country: "
    Me.Parameters(0).Tag = "Some extra data"
    Me.Parameters(0).Type = GrapeCity.ActiveReports.SectionReportModel.Parameter.DataType.String
End Sub
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

Parameter Class
Parameter Members

 

 


Copyright © 2014 GrapeCity, inc. All rights reserved

Support Forum