on 08-21-2009 7:24 PM
Hi,
I'm using B1De, and how can i get a parameter like actionsucess??
there is a procedure in an object '112' sketch, so before menu event is executed and the procedure return an erron, but after, menu event is executed too, how can i stop the after event?
hi
For a menu event bubbleevent setting will work.
Actually I didn't get what the real problem is.. Any way check the bubble event property on BeforeAction is true.
Anoop
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
With B1DE if you add a listener for a menu event (either before of after) you have the pval variable of type MenuEvent conatining all the information as defined in the SDK MenuEvent section.
But the MenuEvent doesn't have the Success information as ItemEvents do.
public virtual bool OnBeforeMenuClick(MenuEvent pVal) {
}
Hope it helps
Trinidad.
i'm using this, but the AfterMenuEvent is executed after the store Procedure give me an error.
i think that the afterMenuEvent shouldn't be executed after store procedure with error.
i need something like it
public virtual void OnAfterMenuClick(MenuEvent pVal) {
if (ActionSucess == true)
return;
}
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.