To open any link in a new tab, preserving your position in the current article, just hold down the <CTRL> key on your keyboard before clicking the link or click using your mouse wheel.

Property Groups

Property Groups



String value that controls the grouping order of properties in Property Groups (Figure 1 shows an example of properties indicated by red arrows).  Figure 2 shows where to click to select the cell (left arrow). After clicking in the cell, click on the Up and Down arrows in the cell to move the selected property in priority. Clicking on the Elipsis to the right of the arrows opens the U-T-H  Formula Editor - Property Groups window (Figure 3).  The U-T-H Property Groups property is shown in Figure 2 (note that the elipsis disappears when the Formula Editor window opens). The Property Group items may be added, deleted, reordered, or edited in this window. After making any changes, click on OK in the Formula Editor window, and then on OK in the Properties window, and the changes will be reflected in the PlanSwift Settings tab / Property Groups window (Figure 3) and in the PlanSwift Property Groups window shown in Figure 1.


              Figure 1


            Figure 2



        Figure 3

API Calls

Delphi

Using IItem Object Model
procedure main;
var
 planswift: IPlanSwift;
 settings: IItem;
 property: IPropertyObject 
begin
 planswift := coPlanSwift.Create();
 settings := planswift.getItem('\Settings');
 property := planswift.GetProperty('Property Groups');
 WriteLn(property.ResultAsString()) 
end
Using PlanSwift Object Model
//or 
procedure main; 
var
 planswift: IPlanSwift;
 property:IPropertyObject;
begin
 planswift := coPlanSwift.Create();
 property := planswift.GetProperty('\Settings','Property Groups');
 WriteLn(property.ResultAsString()) 
end;

C#

Using IItem Object Model
private void Main()
{
	PlanSwift planswift = new PlanSwift();
	IItem settings = planswift.GetItem(@"\Settings");
	IPropertyObject property = settings.GetProperty("Property Groups");
	console.WriteLn(property.ResultAsString())
}
Using PlanSwift Object Model
private void Main()
{
	PlanSwift planswift = new PlanSwift();
	IPropertyObject property = planswift.GetProperty(@"\Settings","Property Groups")
	console.WriteLn(property.ResultAsString)
}

VB/VBA (OLE)

Using IItem Object Model
Sub main()
    Dim planswift = CreateObject("PlanSwift9.PlanCenter")
    Dim settings = planswift.GetItem("\Settings")
    Dim property = settings.GetProperty("Property Groups")
    Console.WriteLn(property.ResultAsString());
End Sub
Using PlanSwift Object Model
Sub Main()
    Dim planswift = CreateObject("PlanSwift9.PlanCenter")
    Dim nameProperty = planswift.GetProperty("\Settings","Property Groups")
    Console.WriteLn(property.ResultAsString)
End Sub

Pascal Scripting (OLE)

Item Object Model
begin
    settings := getItem('\Settings');
    ShowMessage(GetResultAsString(settings,'Property Groups'));
end
Root Object Model
begin
   ShowMessage(GetResultAsString('\Settings','Property Groups'));
end

Pascal Scripting

Item Object Model
begin
    settings := PlanSwift.getItem('\Settings');
    property := settings.GetProperty('Property Groups');
    ShowMessage(property.ResultAsString);
end
Using the PlanSwift Object Model
begin
    property := PlanSwift.GetProperty('\Settings','Property Groups');
    ShowMessage(property.ResultAsString);
end



Copyright 2023 ConstructConnect