Gets or sets the caption of the Progress dialog box.
[Visual Basic]
Public Property ProgressCaption As String
[C#]
public string ProgressCaption {get;set;}
[Delphi]
public property ProgressCaption: String read get_ProgressCaption write set_ProgressCaption;
Example
The following example sets the caption of the Progress form to read "Generating document...":
Me.C1TrueDBGrid1.PrintInfo.ProgressCaption = "Generating document..."
' Invoke print preview.
Me.C1TrueDBGrid1.PrintInfo.PrintPreview()
· C#
this.c1TrueDBGrid1.PrintInfo..ProgressCaption = "Generating document...";
// Invoke print preview.
this.c1TrueDBGrid1.PrintInfo.PrintPreview();
· Delphi
Self.C1TrueDBGrid1.PrintInfo..ProgressCaption := 'Generating document...';
// Invoke print preview.
Self.C1TrueDBGrid1.PrintInfo.PrintPreview;
Note that if you do not set this property, then the Progress form keeps the default caption, "Printing C1TrueDBGrid".
See Also
PrintInfo Class | PrintInfo Members | C1.Win.C1TrueDBGrid Namespace
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |