Integer value returns an ANSI key code (default code 83, the letter S) for the Scroll Left command. Figure 1 shows where the Scroll Left hotkey is assigned.
Figure 1
procedure main;
var
planswift: IPlanSwift;
settings: IItem;
property: IPropertyObject
begin
planswift := coPlanSwift.Create();
settings := planswift.getItem('\Settings');
property := planswift.GetProperty('ScrollLeftHotkey');
WriteLn(property.ResultAsInteger())
end
//or
procedure main;
var
planswift: IPlanSwift;
property:IPropertyObject;
begin
planswift := coPlanSwift.Create();
property := planswift.GetProperty('\Settings','ScrollLeftHotkey');
WriteLn(property.ResultAsInteger())
end;
private void Main()
{
PlanSwift planswift = new PlanSwift();
IItem settings = planswift.GetItem(@"\Settings");
IPropertyObject property = settings.GetProperty("ScrollLeftHotKey");
console.WriteLn(property.ResultAsInteger())
}
private void Main()
{
PlanSwift planswift = new PlanSwift();
IPropertyObject property = planswift.GetProperty(@"\Settings","ScrollLeftHotKey")
console.WriteLn(property.ResultAsInteger)
}
Sub main()
Dim planswift = CreateObject("PlanSwift9.PlanCenter")
Dim settings = planswift.GetItem("\Settings")
Dim property = settings.GetProperty("ScrollLeftHotKey")
Console.WriteLn(property.ResultAsInteger());
End Sub
Sub Main()
Dim planswift = CreateObject("PlanSwift9.PlanCenter")
Dim nameProperty = planswift.GetProperty("\Settings","ScrollLeftHotKey")
Console.WriteLn(property.ResultAsInteger)
End Sub
begin
settings := getItem('\Settings');
ShowMessage(GetResultAsInteger(settings,'ScrollLeftHotKey'));
end
begin
ShowMessage(GetResultAsInteger('\Settings','ScrollLeftHotKey'));
end
begin
settings := PlanSwift.getItem('\Settings');
property := settings.GetProperty('ScrollLeftHotKey');
ShowMessage(property.ResultAsInteger);
end
begin
property := PlanSwift.GetProperty('\Settings','ScrollLeftHotKey');
ShowMessage(property.ResultAsInteger);
end