...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
Settings Hierarchy
...
Settings are the root setting for PlanSwift. They are the default configuration settings for PlanSwift and can be written, read, and modified. Custom settings can also be added. This section provides a list of these settings and coding examples in C#, Delph, VB / VBA OLE, and Scripting of how to access the settings.
To obtain the Advanced Properties of Settings, double click on Settings (red arrow in Figure 1).
Figure 1
See Figure 2 for the Settings Advanced Properties window. Note that you may or may not have some of these property values in your version of the software. API calls for each of these are covered in alphabetical order.
Figure 2
API Calls
Table of Contents minLevel 3
Delphi
Code Block | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
procedure main;
var
planswift: IPlanSwift;
settings: IItem;
begin
planswift := coPlanSwift.Create();
settings := planswift.getItem('\Settings');
end |
C#
Code Block | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
private void Main()
{
PlanSwift planswift = new PlanSwift();
IItem settings = planswift.GetItem(@"\Settings");
} |
VB/VBA (OLE)
Code Block | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
Sub main()
Dim planswift = CreateObject("PlanSwift9.PlanCenter")
Dim settings = planswift.GetItem("\Settings")
End Sub |
Scripting
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
begin
settings := PlanSwift.getItem('\Settings');
end |