CaptionText Property
Optional caption (title) text for the self-extractor dialogs.
Syntax
__property String CaptionText = {read=FCaptionText, write=FSetCaptionText, default=""};
Default Value
""
Remarks
This property contains the text which will appear on the title bar of the dialog boxes that appear when running the SDA executable file. If this property is not set, "IP*Works! PG Self Extractor - www.nsoftware.com" will appear in the title bar.
Example (Creating a Self-Decrypting Archive)
component.ArchiveFile = "c:\test.exe" component.RecurseSubdirectories = true component.SourceDirectory = "c:\foo\" component.CaptionText = "Testing SDA" component.BannerText = "Press continue to decompress the archive." component.CreateSDA() component.ArchiveFile = "c:\test.exe" component.SourceFile = "c:\foo\bar.dat" component.CaptionText = "Testing SDA" component.BannerText = "Press continue to decompress the archive." component.CreateSDA()
Data Type
String