...
- 1. Create a New Form application
- 2. Add a button to the form
- 3. add Planswift to reference (Planswift9_tlb in the uses)
- 4. copy code to button onclick event
API
...
Calls
Delphi
Code Block | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
procedure TForm1.psSelectItemDialog(Sender: TObject);
var
ps: IPlanSwift;
itm: IItem;
begin
//Create Planswift Interface
ps := CoPlanswift.Create;
//Open Item Dialog and select planswift root
itm := ps.SelectItemDialog('Select An Item','Select An item',ps.Root.FullPath);
//Show Selected item Name
ShowMessage(itm.Name + 'Has been selected');
//Free Planswift
ps := nil;
end; |
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
C#
Code Block | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
Code Block | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
VB/VBA (OLE)
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Pascal Scripting (OLE)
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
Code Block | ||||
---|---|---|---|---|
| ||||
Pascal Scripting
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
Code Block | ||||
---|---|---|---|---|
| ||||