Programatic item events in JComboBox

I have three JComboBoxes. Each has an ItemListener which calls setCustomerFields.
public void setCustomerFields(ItemEvent e)
JComboBox aComboBox = (JComboBox) e.getSource();
int aIndex = aComboBox.getSelectedIndex();
myAddressComboBox.setSelectedIndex(aIndex);
myCustNameComboBox.setSelectedIndex(aIndex);
myCustNumComboBox.setSelectedIndex(aIndex);
Each JComboBox looks something like:
myAddressComboBox = new JComboBox(myAddresses);
myAddressComboBox.setEditable(true);
myAddressComboBox.addItemListener(new ItemListener() {
public void itemStateChanged(ItemEvent e) {
setCustomerFields(e); } } );
The purpose is to have all three JCombBoxes stay in sync. When the user selects a value in one setCustomerFields will set the value in the others. The API documentation for JComboBox.addItemListener states addItemListener Specified by: addItemListener in interface ItemSelectable. ItemSelectable Method Details for addItemListener says "Adds a listener to receive item events when the state of an item is changed by the user. Item events are not sent when an item's state is set programmatically. If l is null, no exception is thrown and no action is performed."
This tells me that "item events are not sent when an item's state is set programmatically." So calling setSelectedIndex in setCustomerFIields should not send an Iterm event. BUT IT IS. And thus I get an endless loop.
My work around is to call removeItermListener in setCustomerFields.
I have looked through the forum and found some similar questions but no definitive answer (except call removeItemListener) Also I see reference to a bug http://developer.java.sun.com/developer/bugParade/bugs/4664606.html which is similar but not directly related.
So my questions:
1) Am I using ItemListener correctly?
2) If so why is the Item Event occurring in setCustomerField?
3) Is the documentation wrong?
4) I choice ItemListener over ActionListener because ItemListener "isn't" supposed to fire when the state changes programatically. Was that the correct choice?
Thanks
Brad

ItemEvent should send when ever setSelectedIndex call, but you can do one thing :
public void itemStateChanged(ItemEvent e) {
if( e.getStateChange() == ItemEvent.SELECTED ){
setCustomerFields(e); }
may be this will work from your situation, or i guess you can use some flags type too for checking which one combobox changed then do appropriate action for this.

Similar Messages

  • How to color an item in a JComboBox?

    I need to color some item of my JComboBox,.
    or color the string text or the background of the single item
    anyone can help me?

    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Test3 extends JFrame {
      public Test3() {
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        Container content = getContentPane();
        Object[] data = { new ColoredObject(Color.RED,"Hello"),
                          new ColoredObject(Color.BLUE,"World,"),
                          new ColoredObject(Color.CYAN,"These"),
                          new ColoredObject(Color.GREEN,"Are"),
                          new ColoredObject(Color.MAGENTA,"Some"),
                          new ColoredObject(Color.ORANGE,"Colors")
        JComboBox jcb = new JComboBox(data);
        jcb.setRenderer(new ColoredRenderer());
        content.add(jcb, BorderLayout.NORTH);
        setSize(300, 300);
        setVisible(true);
      public static void main(String[] arghs) { new Test3(); }
    class ColoredObject {
      Color color;
      Object object;
      public ColoredObject(Color color, Object object) {
        this.color=color;
        this.object=object;
      public Object getObject() { return object; }
      public Color getColor() { return color; }
      public String toString() { return object.toString(); }
    class ColoredRenderer extends DefaultListCellRenderer {
      public Component getListCellRendererComponent(JList list, Object value,
                                                    int index, boolean isSelected,
                                                    boolean hasFocus) {
        Component c = super.getListCellRendererComponent(list, value, index,
            isSelected,hasFocus);
        if (!isSelected && !hasFocus && value instanceof  ColoredObject) {
          c.setBackground(((ColoredObject)value).getColor());
        return c;
    }

  • Getting the correct userid in a afterproperties in a item event receiver

    HI,
     am writing  a   custom item event receiver and i am trying to read from a user/group column. and when i am  using afterproperties to get the  getitembyid() for a user, am getting different values on different times.
     yesterday when i accessed the same, i am getting the correct  user id i mean if its  "in\john.mith " am getting the  values  john.smith.
     but today when i debugged, i am not getting the john.smith value instead it pulled the fully qualified value - i eman  - along with authentication  - i:#w0/.....kind of.
    its strange that sometiems its working fine and sometimes the same code behaves in a different way.
    can ansyone please provide any hint what exactly going on and how can i get a correct id when i use afterproperties.
    help  is appreciated!

    Hi,
    According to your description, the value of the User field in the AfterProperties not always the same.
    As you said, the value got changed today when you debug your event receiver, is there any change in your environment recently?
    A possible reason might be that the authentication method has been changed.
    There is a test in Naim’s blog about the different value of User filed in an Event Receiver when in different authentication mode:
    http://naimmurati.wordpress.com/2014/07/25/user-field-in-event-receivers-when-using-claims-based-authentication-and-classic-mode-authentication/
    How to determine the Authentication mode of a web application:
    http://blogs.msdn.com/b/psssql/archive/2011/02/22/sharepoint-adventures-how-to-identify-if-you-are-using-claims-authentication.aspx
    Thus, a possible workaround to get the user name from a User field is that you can use
    properties.ListItem["UserField"] which will return same result whatever the authentication mode would be.
    Best regards
    Patrick Liang
    TechNet Community Support

  • FRM-40735 WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-065

    Please help....This error is comming when opening the form. The form is running on oracle 11g 64bits web logic.
    "FRM-40735 WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-065"

    Welcome to OTN
    Before posting on this forum please read
    FRM-40735: WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-06502.
    you'll get some hint here
    Oracle/PLSQL: ORA-06502 Error

  • Item Event - BeforeAction - true or false?

    Hi,
    Is there a basic rule for BeforeAction?
    I know you can play with BeforeAction for personal use; but it is there a basic rule like:
    et_CLICK: then it is BeforeAction == false
    I like to know for following event:
    et_CLICK
    et_COMBO_SELECT
    et_MATRIX_LINK_PRESSED
    et_MATRIX_LOAD
    et_CHOOSE_FROM_LIST
    et_MENU_CLICK
    Is there a Pattern for BeforeAction for ALL Item Events?
    Thank you,
    Rune

    Hi Rune,
    there's no real rule, because the events are different.
    but usual it is before/after displaying or before/after mouseup
    EventType | beforeaction = true | beforeaction = false
    et_CLICK | before you release the mouse button/Button is pressed | after you release the mousebutton
    et_ITEM_PRESSED | before you release the mouse button | after you release the mousebutton
    et_COMBO_SELECT | Selection has not changed | Selection has changed
    et_MATRIX_LINK_PRESSED | before you release the mouse button/Button is pressed | after you release
    et_MATRIX_LOAD | matrix is empty | matrix is loaded
    et_MENU_CLICK | Button is pressed/before release on menu item (without submenus)  | after release
    et_CHOOSE_FROM_LIST | before the Choose From List form is displayed | displayed
    any other questions ?
    greetings to montreal
    David

  • When-custom-item-event

    Hello!
    I have problem with webutil.pll in runtime.
    When i run my form i get the next exception:
    "when-custom-item-event trigger raised unhandled exception ORA-06508".
    When i moved webutil_core and delimstr to program units the forms run fine.
    What can be a problem?
    Thanks.

    Webutil was compiled in my database schema.
    I see that if i move my forms in same directory with webutil.pll and then re-attache the pll - no exception in runtime.
    When i can remove pll from this directory and my form contunue to work fine.
    Do you have any explanation?
    Message was edited by:
    Aver

  • WebUtil gives FRM-40735 When-Custom-Item-Event ORA-06508 when starting form

    I have downloaded and installed/configured webutil on RH Linux AS2.1 per the manual and readme file.
    ( jacob.jar and webutil.jar signed on NT machine per instruction then loaded on LINUX server webutil/lib )
    I have incorporated webutil with an existing form as follows:
    1. linked webutil.pll
    2. subclassed webutil from webutil.olb
    3. compiled all
    4. compiled module
    Form was deployed on 9iAS.
    When the applet loads the following is displayed in the java console:
    Downloading http://myserver.mydomain.com:7779/forms90/webutil/webutil.jar to JAR cache
    Loading http://myserver.mydomain.com:7779/forms90/java/f90all_jinit.jar from JAR cache
    Loading http://myserver.mydomain.com:7779/forms90/java/pfs.jar from JAR cache
    Downloading http://myserver.mydomain.com:7779/forms90/webutil/jacob.jar to JAR cache
    Loading http://myserver.mydomain.com:7779/forms90/java/f90all_jinit.jar from JAR cache
    Loading http://myserver.mydomain.com:7779/forms90/java/pfs.jar from JAR cache
    RegisterWebUtil - Loading Webutil Version 1.0.2 Beta
    connectMode=HTTP, native.
    Forms Applet version is : 90270
    When the form containing webutil is called, the following is displayed in the java console and the error mentioned in this topic's subject is given:
    2003-Jul-10 16:53:32.607 WUI[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2003-Jul-10 16:53:32.707 WUF[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2003-Jul-10 16:53:32.738 WUH[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2003-Jul-10 16:53:32.758 WUS[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2003-Jul-10 16:53:32.798 WUT[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2003-Jul-10 16:53:32.998 WUO[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2003-Jul-10 16:53:33.38 WUL[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2003-Jul-10 16:53:33.58 WUB[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    Why can't webutil find the bean method/function?

    Per a previous suggestion, I have created a simple form module with one block containing a single push_button.
    The when-button-pressed trigger contains a simple call to client_get_file_name.
    I then:
    1. Attached the webutil.pll
    2. subclassed webutil from webutil.olb
    3. compiled all plsql
    4. created then deployed fmx
    The same errors are generated when this simple form loads without any calls to webtuil.
    I added the following debug code to the when-custom-item-event triggers of each bean area item in the webutil block:
    declare
    dataType pls_integer;
    dataPayload varchar2(32000 char);
    begin
    WEBUTIL_CORE.CustomEventHandler(:SYSTEM.CUSTOM_ITEM_EVENT,:SYSTEM.CUSTOM_ITEM_EVENT_PARAMETERS);
    exception
         when others then
         get_parameter_attr(:system.custom_item_event_parameters,'WUC_DATA',dataType, dataPayload);
         pfsutil.dbug(get_application_property(current_form_name)||'-WebUtil: '||'Item: '||:system.trigger_item||' Event: '||:system.custom_item_event||' :'
         ||'Data: '||dataPayload||' Error: '||sqlerrm);
    end;
    The following information is captured in the log:
    17:07:59 WEBUTILTEST-WebUtil: Item: WEBUTIL.WEBUTIL_CLIENTINFO_FUNCTIONS Event: WUC_REGISTER :Data: WUI|192.168.111.2|Windows NT|Administrator|;|\|en Error: ORA-06508: PL/SQL: could not find program unit being called
    17:08:55 WEBUTILTEST-WebUtil: Item: WEBUTIL.WEBUTIL_FILE_FUNCTIONS Event: WUC_REGISTER :Data: WUF|192.168.111.2|Windows NT|Administrator|;|\|en Error: ORA-06508: PL/SQL: could not find program unit being called
    17:08:58 WEBUTILTEST-WebUtil: Item: WEBUTIL.WEBUTIL_HOST_FUNCTIONS Event: WUC_REGISTER :Data: WUH|192.168.111.2|Windows NT|Administrator|;|\|en Error: ORA-06508: PL/SQL: could not find program unit being called
    17:08:59 WEBUTILTEST-WebUtil: Item: WEBUTIL.WEBUTIL_SESSION_FUNCTIONS Event: WUC_REGISTER :Data: WUS|192.168.111.2|Windows NT|Administrator|;|\|en Error: ORA-06508: PL/SQL: could not find program unit being called
    17:09:00 WEBUTILTEST-WebUtil: Item: WEBUTIL.WEBUTIL_FILETRANSFER_FUNCTIONS Event: WUC_REGISTER :Data: WUT|192.168.111.2|Windows NT|Administrator|;|\|en Error: ORA-06508: PL/SQL: could not find program unit being called
    17:09:01 WEBUTILTEST-WebUtil: Item: WEBUTIL.WEBUTIL_OLE_FUNCTIONS Event: WUC_REGISTER :Data: WUO|192.168.111.2|Windows NT|Administrator|;|\|en Error: ORA-06508: PL/SQL: could not find program unit being called
    17:09:03 WEBUTILTEST-WebUtil: Item: WEBUTIL.WEBUTIL_C_API_FUNCTIONS Event: WUC_REGISTER :Data: WUL|192.168.111.2|Windows NT|Administrator|;|\|en Error: ORA-06508: PL/SQL: could not find program unit being called
    17:09:04 WEBUTILTEST-WebUtil: Item: WEBUTIL.WEBUTIL_BROWSER_FUNCTIONS Event: WUC_REGISTER :Data: WUB|192.168.111.2|Windows NT|Administrator|;|\|en Error: ORA-06508: PL/SQL: could not find program unit being called
    This may be initiated by Webutil_core.initWebUtil and the result of Webutil_core.registerBean?
    This following error information is captured when the push button is pressed:
    17:09:08 WEBUTILTEST-WebUtil: Item: MAIN_BLK.TEST_BUT Event: WUC_REGISTER :Data: WUB|192.168.111.2|Windows NT|Administrator|;|\|en Error: ORA-06508: PL/SQL: could not find program unit being called
    Hope this helps.
    Thank you for the quick responses.

  • FRM-40735- when-custom-item-event trigger raised.

    hi all
    while logging in i am getting the following error.
    FRM-40735- when-custom-item-event trigger raised unhandled exception ORA-06508.
    and when i press the button then getting the following error.
    FRM-40735-when-button-pressed trigger raised unhandled exception ORA-06508.
    plz help me out.thanks in advance.
    sarah

    SarahSarahSarah wrote:
    Yes i am keeping the path but i checked without path too.I want to regenerate webutil.plx.i tried by using ctrl+t ,shift+ctrl+k and ctrl+k but it did not generat plx.what should i do to regenerat plx?is it giving any error when you try to generate it using ctrl + t .?
    Also try closing the builder
    set FORMS_PATH with your working directory (do also keep webutil.pll and webutil.olb) in that.
    Open the builder again and try generating

  • Frm-40735 when-custom-item-event trigger raised unhandled exceptionora06508

    frm-40735 when-custom-item-event trigger raised unhandled exception ora-06508.
    While logging in, I am getting the above message,
    If I click on ok i am able to proceed and do the task.
    My problem here is to remove this error.
    Any one plz help out?

    Welcome to OTN
    Before posting on this forum please read
    931068 wrote:
    frm-40735 when-custom-item-event trigger raised unhandled exception ora-06508.So
    ORA-06508:     PL/SQL: could not find program unit being called
    Cause:     An attempt was made to call a stored program that could not be found. The program may have been dropped or incompatibly modified, or have compiled with errors.
    Action:     Check that all referenced programs, including their package bodies, exist and are compatible. Hope this helps
    If someone's response is helpful or correct, please mark it accordingly.

  • FRM-40735: WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-06502.

    Hi Expert,
    Forms Version : 11.1.2.1.0
    Client JRE : 1.6.0_45-b06 Java HotSpot(TM) Client VM
    Run webutil_demo form, http://host:9001/forms/frmservlet?form=webutil_demo.fmx&config=webutil
    it appears following error.
    FRM-40735: WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-06502.
    No error logged in java console client side.
    I've try to re-compile webutil_demo.fmb
    Unattaching and then re-attaching the plsql library webutil.pll to forms using a 11g Forms Builder (instead of earlier version) and then loading the form to the server and compiling form but error still exist.
    Will you please help to give any suggestion?
    Is there any trace can be enabled to find some more details?

    Welcome to OTN
    Before posting on this forum please read
    FRM-40735: WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-06502.
    you'll get some hint here
    Oracle/PLSQL: ORA-06502 Error

  • MenuBar Menu Items Events?

    Hi
    I have just started playing with Flex 2 Builder and I have
    built a simple
    app to get my feet wet. I have a menubar at the top of my app
    with three
    menus each with three choices
    MENU1
    SUB1A
    SUB1B
    SUB1C
    MENU2
    SUB2A
    SUB2B
    SUB2C
    MENU3
    SUB3A
    SUB3B
    SUB3C
    My problem is that there does not seem to be a way to access
    the sub menu
    items and assign events to each. When I put an onClick event
    in the
    <mx:MenuBar> it fires regardless of which submenu item
    I choose.
    Is there a way, or what is the best way, to create individual
    events for
    each submenu? Additionally, can I add additional elements to
    my <menuitem>
    tags such as <menuitem label="SUB3A" someValue="XYZ">
    and then access
    "someValue" from whatever event I get to fire when the sub
    menu is clicked?
    Thanks
    Rich

    Hi --
    Thanks for this example. This should really help me out.
    Rich
    "ntsiii" <[email protected]> wrote in message
    news:e8bnbt$2lk$[email protected]..
    > When the event fires, the event object passed into the
    handler can be used
    > to
    > access the item that created the menu option. You can
    use information in
    > the
    > item to decide what action to take. Here is a simple
    example:
    >
    > Tracy
    >
    > <?xml version="1.0"?>
    > <!-- Simple example to demonstrate the MenuBar
    control. -->
    > <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    > creationComplete="initCollections();" >
    >
    > <mx:Script>
    > <![CDATA[
    >
    > import mx.events.MenuEvent;
    > import mx.controls.Alert;
    > import mx.collections.*;
    >
    > [Bindable]
    > public var menuBarCollection:XMLListCollection;
    >
    > private var menubarXML:XML =
    > <root>
    > <menuitem label="Menu1">
    > <menuitem label="MenuItem 1-A" data="1A"/>
    > <menuitem label="MenuItem 1-B" data="1B"/>
    > </menuitem>
    > <menuitem label="Menu2">
    > <menuitem label="MenuItem 2-A" type="check"
    > data="2A"/>
    > <menuitem type="separator" />
    > <menuitem label="MenuItem 2-B" >
    > <menuitem label="SubMenuItem 3-A" type="radio"
    > groupName="one" data="3A"/>
    > <menuitem label="SubMenuItem 3-B" type="radio"
    > groupName="one" data="3B"/>
    > </menuitem>
    > </menuitem>
    > </root>;
    >
    > // Event handler for the MenuBar control's change event.
    > private function menuHandler(event:MenuEvent):void
    > {
    > Alert.show("Label: " + event.item.@label + "Data: " +
    > event.item.@data, "Clicked menu item");
    > }
    >
    > // Event handler to initialize the MenuBar control.
    > private function initCollections():void
    > {
    > menuBarCollection = new
    > XMLListCollection(menubarXML.children());
    > }
    > ]]>
    > </mx:Script>
    >
    > <mx:Panel title="MenuBar Control Example"
    height="75%" width="75%"
    > paddingTop="10" paddingLeft="10">
    >
    > <mx:MenuBar labelField="@label"
    change="menuHandler(event);"
    > dataProvider="{menuBarCollection}" />
    >
    > </mx:Panel>
    > </mx:Application>
    >
    >

  • Formatted Search and Item Events

    Hi,
      I am having a huge problem with using Formatted Search and Add-Ons.
    On the Sales Order Form I have a Formatted search Setup on the Customer Reference Number, it is set to Auto-Refresh when the CardCode changes.  This is the only Formatted search on this form and it works fine.
    However, when I run my Add-On, and enter an Item Code it takes about 30 seconds to display the Item Description. In tracing my Add-On it appears to call the Item Event et_GOT_FOCUS on the Item Code Column I just entered over 50 times.  I don't use other events, but for testing I did turn on all events and the only other event it occured with was et_LOST_FOCUS.
    If I turn off my Add-On or turn off Auto Refresh on the Formatted search everything runs as it should.
    I figure the Auto Refresh of the Formatted search has something to do with this, but I need to have this turned on.  Another thing is that it only seems to call this event when Before Action = false, It does not seem to be called on Before Action = True. 
    Can I disable the Formatted search temporarily from within my add-on or is there something else I need to do to keep this from happening.
    Thanks for Any Help
    Paul

    Hi Alfredo,
      Thanks for the suggestion, that sounds like it might be what I am looking for. But I am confused on trying to visualize how this would work. Do I need to duplicate the entire logic that Business One already does or are there some functions in the DI/UI that I can call that does the functions.  Since I am doing this from a System(Sales Order) not User Defined Form, does that change anything.  I did see the FormattedSearches Object to add a Formatted Search through the DI, but that seems like it will just create the Object and not help me execute it from my Add On.
    Is there some code snipits you could provide or get me going in the right direction on how to implement the formatted searches from within my Add-On. 
    Thanks Again,
    Paul

  • WHEN-CUSTOM-ITEM-EVENT - not firing. Please Help

    Hi Grant,
    WHEN-CUSTOM-ITEM-EVENT - not firing. Please Help..
    I need a help from you.
    1) I have developed an form to browse the client machine and upload the file on server / table
    2) Registered the form in Oracle Apps 11.5.10.
    3) Currently i am able to open the File_Dialog and browse throught the clients machine
    But when ever user selects any file and says Open, i am not able to retrieve the file name. wHEN-CUSTOM-ITEM-EVENT is not
    firing. I am sure how we can invoke this CUSTOM-ITEM-EVENT.
    To devlop the form i have referred PERWSIMG.fmb - of Oracle (Apps) HRMS which uploads the employee photo in the Database.
    Hence i have used the same java code / Implementaion Class.
    Please help...
    Regards
    Sameer

    Hi Francois,
    You were right. I re-loaded the zip file and the original version works. Odd, as I don't remember ever modifying those files.
    But my original issue still remains.
    The only code I've added is this:
    Color mycolor = this.getBackground() ;
    setBackground(mycolor);to the CalendarFrame constructor. How could this be causing the trigger to not fire?
    Could it be the way I created the bean? I copied all the java files to my project, attached the libraries, created a deployment profile. Everything compiles without errors or warnings, and the jar is created without issues. The java console doesn't give any errors either.
    Thanks for all your help,
    A
    Edited by: Abigail Parmar on Mar 26, 2009 1:01 PM

  • AddOn Item Event Problem

    Hi @all,
    I have created an AddOn that adds an additional menu and loads a new form from XML.
    The form has two buttons for different functionalities. During the development the AddOn works without problems and all events are captured correctly.
    Now, I created the AddOn setup with the Simple AddOnInstaller Wizard form the B1DE and installed it as a new AddOn <b>(System: SBO 2005 SP01 PL11)</b>.
    The AddOn starts correctly, creates the menu and opens the form from XML but when I press one of the buttons nothing happens.
    I used the following code to capture the item event:
    If pVal.ItemUID = "btnSelect" And _
                (pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED) And _
                (pVal.BeforeAction = True) Then
              End If
    Perhaps someone can help me with that problem??

    I profiled my addon wiht the B1 .NET Profiler and I receive the following exceptions when I click on a button in the new form:
    System.IO.FileNotFoundException
    System.IO.FileNotFoundException
    System.Reflection.TargetInvocationException
    Unfortunately I don't know which file is meant because all needed files (XML, DLL) exist in the addon directory.

  • Item event handler executed twice

    SAP BO 2004A, C#, UI+DI
    Hi,
    inside an item event handler, a piece of code stores some data in database using RecordSet.Query( "INSERT INTO ..." )
    Running the application, the insert statement is executed twice, what I don't expect.
    If I add a messagebox after the Query()-statement, the code is executed only once.
    Also if I set a breakpoint in debugger, the code is executed only for one time.
    I checked allways the following things:
    1) itemEvent.beforeAction == true
    2) the SAPbouiCOM.Application object is instanciated only for one time.
    Any ideas? Thank you!
    Peter

    Are you filtering?
    It's imperitive that you filter your events. This way your add-on will only receive the events you are interested in...
    This will also allow the SBO -> add-on communication to be more efficient and faster...

Maybe you are looking for

  • ITunes freezes and crashes every time I try to open it

    MacBook using OS X 10.9.2 - Every time (without exception) I try to open iTunes, it goes to the "Accessing iTunes Store" window, and then stays there while launching that much dreaded Mac "spinning wheel of death".... I have to force quit in order to

  • How to use multiple language at the same time

    Hi,     I have one dimension, and its desc is in English,I had a need to have another language, so created one attributes "Language1" and inserted Russian translation, But after uploading the data those russian characters are not getting identified b

  • Help Exporting Embedded Video Files From Flash

    I am new to Flash and this may sound, well dumb but here it goes.  I have taken some video files from Final Cut Pro converted them to FLV's imported them and embedded them into flash to create some banners for the web.  I need to know what settings I

  • XML syntax to revoke all the AccessControlEntry

    Hi all!!! I would like to know if there is an XML syntax to revoke all the AccessControlEntry of an ACL Thanks

  • Are there any APIs to move funds from one project to another?

    Hi, Are there any Project/Budget APIs to move funds from one project to another with in the same grant or different grant in R12? Thanks,