| View previous topic :: View next topic |
| Author |
Message |
alexhaifa Member
Joined: 22 Nov 2005 Posts: 31 Location: Brazil
|
Posted: 28/12/05 11:14 Post subject: custom balloon |
|
|
Hello
When I press the button enter, my custom balloon close, how can I turn off this???
Thanks
|
|
| Back to top |
|
 |
Kambiz Administrator

Joined: 07 Mar 2003 Posts: 1044 Location: Tehran, Iran
|
Posted: 29/12/05 08:52 Post subject: |
|
|
I guess you've assigned a ModalResult value to your button. Set it to mrNone.
_________________ Kambiz |
|
| Back to top |
|
 |
alexhaifa Member
Joined: 22 Nov 2005 Posts: 31 Location: Brazil
|
Posted: 29/12/05 09:56 Post subject: |
|
|
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
|
|
| Back to top |
|
 |
alexhaifa Member
Joined: 22 Nov 2005 Posts: 31 Location: Brazil
|
Posted: 29/12/05 09:59 Post subject: |
|
|
I hadn't seen that there was a help for buttonOffice, sorry, I got the solution.
Alex
|
|
| Back to top |
|
 |
|