I have been using B1DE to capture events, and had no problem before. All regular objects have pretty standard IDs that could be setup in a class invoked by B1DE <i><b>B1WizardBase</b></i> reflection. Now I wanted to capture the events of B1s Browser buttons (Add, First, Previous, Next, Last) (FormDataEvent).
Using "<i><b>Event Logger</b></i>" I figured out that it is <b><et_MENU_CLICK></b> event, which is generated by FormUID="1282". Unfortunately, the <b>FormUID</b> field supplied by <b><b>B1Form</b></b> implementing class I am trying to write <i>(B1BrowserAdd)</i> is being shown as blank in <b>"Event Logger"</b>
What I wanted was something like:
public class B1BrowserAdd: B1Form {
public B1BrowserAdd() {
this.FormType = "1282";
}
[B1Listener(BoEventTypes.et_MENU_CLICK, true)]
public virtual bool OnBeforeMenuClick(MenuEvent pVal) {
Console.WriteLine("1282 Menu Pressed");
return true;
}
}
Would <b>Trinidad</b>, or someone else let me know if it is at all possible.
I want to perform special action by capturing the navigation buttons events, but these buttons barely show up their presence except for <b>et_MENU_CLICK</b> event of a form? whose <b>UID</b> is <i>1282, 1288, 1289, 1290 and 1291</i>. Any suggestion would be welcomed.