Opening a form within an outlook addin

Add-in Express™ Support Service
That's what is more important than anything else

Opening a form within an outlook addin
 
Yair Eshel




Posts: 9
Joined: 2007-02-27
Hello
Is it possible to open a new form from within an outlook add-in (triggered by, lets say a button)? if it's possible, how can I do that? if not, is there any alternative?
Posted 11 Mar, 2007 07:02:55 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Yair,

It is possible. See the code below:


procedure TAddInModule.adxCommandBar1Controls0Click(Sender: TObject);
begin
  Form1 := TForm1.Create(nil);
  try
    Form1.ShowModal;
  finally
    FreeAndNil(Form1);
  end;
end;


P.S. Note that we take up your forum requests in the order we receive them.
Besides, it may take us some time to investigate your issue. Please be sure we will let you know as soon as the best possible solution is found.

Posted 11 Mar, 2007 12:49:53 Top