The SfxProgramGroupItems property lets you specify the items to be created in the program group specified in the SfxProgramGroup property.
Each item in the list consists of a path + filename as well as a name. You must separate the file + path name from the name using the | character (ASCII value 124). Each item must be separated by a CR character (ASCII value 13) or the CR/LF characters (ASCII value 13 followed by ASCII value 10). See below for an example.
The SfxAddProgramGroupItem method allows you to easily add items to this property's list of program group items.
The following macros are available when specifying a value for the path + filename portion of an item: %w, %s, %t, %e, %d, %p and %v.
Here is an example of a string used to provide 3 items to the SfxProgramGroupItems property using VB:
Visual Basic | Copy Code |
---|---|
XceedZip1.SfxProgramGroupItems = "%d\Tetris\Tetris.exe|Play Tetris Now" + chr$(13) + _ |
In Delphi, you would do this:
Delphi | Copy Code |
---|---|
|
String
Empty
Declaration (DLL API) | |
---|---|
|
Yes
None