custom balloon

Posted:
December 28th, 2005, 11:14 am
by alexhaifa
Hello
When I press the button enter, my custom balloon close, how can I turn off this???
Thanks

Posted:
December 29th, 2005, 8:52 am
by Kambiz
I guess you've assigned a ModalResult value to your button. Set it to mrNone.

Posted:
December 29th, 2005, 9:56 am
by alexhaifa
Hello Kambiz
The two buttons are modalresult = mrnone
So, What I have noticed is that the buttons has a focus on it. I tried to take off the focus using DefocusControl, but nothing. So, if I press enter the button is triggered.
How could I take off the button focus?
Thanks

Posted:
December 29th, 2005, 9:59 am
by alexhaifa
I hadn't seen that there was a help for buttonOffice, sorry, I got the solution.
Alex