cancel
Showing results for 
Search instead for 
Did you mean: 

MenuEvent

Former Member
0 Kudos

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?

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member682029
Contributor
0 Kudos

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

Former Member
0 Kudos

i don't have bubbleevent into menuevent of B1De, i need something like actionSuccess that i have in other events

Edited by: Danilo Kasparian on Aug 24, 2009 7:56 PM

Edited by: Danilo Kasparian on Aug 25, 2009 8:10 PM

Trinidad
Product and Topic Expert
Product and Topic Expert
0 Kudos

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.

Former Member
0 Kudos

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;
        }