custom balloon

Please post bug reports, feature requests, or any question regarding the DELPHI AREA projects here.

custom balloon

Postby alexhaifa » December 28th, 2005, 11:14 am

Hello

When I press the button enter, my custom balloon close, how can I turn off this???

Thanks
alexhaifa
Junior Member
Junior Member
 
Posts: 35
Joined: November 22nd, 2005, 2:01 pm
Location: Brazil

Postby Kambiz » December 29th, 2005, 8:52 am

I guess you've assigned a ModalResult value to your button. Set it to mrNone.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

Postby alexhaifa » December 29th, 2005, 9:56 am

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
alexhaifa
Junior Member
Junior Member
 
Posts: 35
Joined: November 22nd, 2005, 2:01 pm
Location: Brazil

Postby alexhaifa » December 29th, 2005, 9:59 am

I hadn't seen that there was a help for buttonOffice, sorry, I got the solution.

:)

Alex
alexhaifa
Junior Member
Junior Member
 
Posts: 35
Joined: November 22nd, 2005, 2:01 pm
Location: Brazil


Return to DELPHI AREA Projects

Who is online

Users browsing this forum: No registered users and 3 guests

cron