cancel
Showing results for 
Search instead for 
Did you mean: 

MessageBox changing event processing ?

Former Member
0 Kudos

Hey all..

I am trying to ask a user a question during some event processing, but it seems everytime I pop up the messagebox where a yes/no response is required the event never 'finishes', meaning, if the event code was called when a user clicked on a CheckBox, the checkbox never gets checked, regardless of what the user chooses on the messagebox ...

but, if the code doesn't get to the messagebox call, everything works fine..

Any Help ?

Thank you

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Michael,

following the advice I read in this forum I use the Item_Pressed event instead of the click event. It catches the event properly, and the checkbox is (un)checked.

Click event is only for editable items.

Hope helps,

Ibai Peñ

Answers (1)

Answers (1)

Former Member
0 Kudos

That seemed to help, but not solve the problem, what I also ended up doing is setting the value of the checkbox to unchecked if the validation failed.

Thanks for your help.

Former Member
0 Kudos

hey michael, it is some new for me , can you print me out the code to do such a test. can you make a general function that we call from anywhere with parameters ? so that we don't have to rewrite them all. is such possible then with search queries

Former Member
0 Kudos

michael, my email is phh@acton.be