Skip to Content
author's profile photo Former Member
Former Member

Delphi and UI API event handling

Has anyone any experience (and sample code) with using the UI API event handling in Delphi?

We have a partner that wants to use Delphi to develop an integration between SBO and another product. To be able to do this the way we want, they need to use the Application Events, Menu Events and Item Events in the UI API.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 19, 2004 at 10:37 PM

    Hi Trond, I have had absolutely no joy in using the UI API in Delphi, the UI API event handling raises exceptions and error when you try to evaluate the pVal object parameters. The DI works fine in Delphi and I've used it to handle data integration between SBO and another product. I did the UI API testing using Delphi 7 but I now use C# to write add-ons using the UI API. I'd be greatly interested myself to know if any other Delphi developers have managed to successfully use the UI API.

    Lita

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      I use Delphi 2005 & SBO 2004B (patch35)

      My problem is, I can't find .OnAppEvent, .OnItemEvent and .OnMenuEvent. So, I can't assign the event procs.

      hmm... what do you think about it?? That's why I can't proceed to write the addon by Delphi...

      SBO_App.OnAppEvent:=con_AppEvent; // application / company

      SBO_App.OnItemEvent:=con_ItemEvent; // forms and controls

      SBO_App.OnMenuEvent:=con_MenuEvent; // main menu and toolbar

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.