Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Integer value returns an ANSI key code (default code 49, the number 1) for the New Area hotkey. Figure 1 shows where the New Area hotkey is assigned. Figure 2 shows where New Area is invoked on the Main Ribbon Bar.

...

Image RemovedImage Added

            Figure 1


Image RemovedImage Added

            Figure 2

...

Code Block
languagedelphi
themeRDark
firstline1
titleUsing PlanSwift Object Model
linenumberstrue
collapsetrue
//or 
procedure main; 
var
 planswift: IPlanSwift;
 property:IPropertyObject; 
begin
 planswift := coPlanSwift.Create();
 property := planswift.GetProperty('\Settings','NewAreaHotKey'); 
 WriteLn(property.ResultAsInteger()) 
end;

...

Code Block
languagec#
themeRDark
firstline1
titleUsing IItem Object Model
linenumberstrue
collapsetrue
private void Main()
{
	PlanSwift planswift = new PlanSwift();
	IItem settings = planswift.GetItem(@"\Settings");
	IPropertyObject property = settings.GetProperty("NewAreaHotKey");
	console.WriteLn(property.ResultAsInteger())
}

...

Code Block
languagec#
themeRDark
firstline1
titleUsing PlanSwift Object Model
linenumberstrue
collapsetrue
private void Main()
{
	PlanSwift planswift = new PlanSwift();
	IPropertyObject property = planswift.GetProperty(@"\Settings","NewAreaHotKey")
	console.WriteLn(property.ResultAsInteger)
}

...