...
- 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.psHandle(Sender: TObject);
var
ps: IPlanSwift;
h: Integer;
begin
//Create Planswift Interface
ps := coPlanswift.Create;
//Get Planswift window Handle
h := ps.Handle;
//Minimize/Maximize Planswift
ShowWindow(h, SW_RESTORE);
//Free Planswift Interface
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 | ||||
---|---|---|---|---|
| ||||