Skip to Content
0
Former Member
Jan 13, 2007 at 12:46 PM

B1DE ActiveX Item OnClick Event

37 Views

Hi,

I've created a custom form that contains an ActiveX Item (ItemType = 102)

Will SAP raise and forward corresponding events to B1DE for the item ItemPressed and Item KeyPressed events?

<i>public class Grid__FooBar_PAYMENT : B1Item

{

public Grid__FooBar_PAYMENT()

{

FormType = "FooBar_PYMNT";

ItemUID = "Grid";

}

[B1Listener(BoEventTypes.et_ITEM_PRESSED, false)]

public virtual void OnAfterClick(ItemEvent pVal)

{

bool ActionSuccess = pVal.ActionSuccess;

Form form = B1Connections.theAppl.Forms.Item(pVal.FormUID);

Item item = form.Items.Item("Grid");

}

}</i>

The code above does not cause the B1DE event code to execute when I click anywhere on the associated activeX control.

.Ben