Integer value returns an ANSI key code (default code 68, the letter D) for the Scroll Down command. Figure 1 shows where the Scroll Down 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('ScrollDownHotkey');
WriteLn(property.ResultAsInteger())
end
//or
procedure main;
var
planswift: IPlanSwift;
property:IPropertyObject;
begin
planswift := coPlanSwift.Create();
property := planswift.GetProperty('\Settings','ScrollDownHotkey');
WriteLn(property.ResultAsInteger())
end;
private void Main()
{
PlanSwift planswift = new PlanSwift();
IItem settings = planswift.GetItem(@"\Settings");
IPropertyObject property = settings.GetProperty("ScrollDownHotkey");
console.WriteLn(property.ResultAsInteger())
}
private void Main()
{
PlanSwift planswift = new PlanSwift();
IPropertyObject property = planswift.GetProperty(@"\Settings","ScrollDownHotkey")
console.WriteLn(property.ResultAsInteger)
}
Sub main()
Dim planswift = CreateObject("PlanSwift9.PlanCenter")
Dim settings = planswift.GetItem("\Settings")
Dim property = settings.GetProperty("ScrollDownHotkey")
Console.WriteLn(property.ResultAsInteger());
End Sub
Sub Main()
Dim planswift = CreateObject("PlanSwift9.PlanCenter")
Dim nameProperty = planswift.GetProperty("\Settings","ScrollDownHotkey")
Console.WriteLn(property.ResultAsInteger)
End Sub
begin
settings := getItem('\Settings');
ShowMessage(GetResultAsInteger(settings,'ScrollDownHotkey'));
end
begin
ShowMessage(GetResultAsInteger('\Settings','ScrollDownHotkey'));
end
begin
settings := PlanSwift.getItem('\Settings');
property := settings.GetProperty('ScrollDownHotkey');
ShowMessage(property.ResultAsInteger);
end
begin
property := PlanSwift.GetProperty('\Settings','ScrollDownHotkey');
ShowMessage(property.ResultAsInteger);
end