Page 1 of 1

Default Button

Posted: Fri Jun 03, 2016 9:15 pm
by ahj_dk
Hi,

If a button has "ButtonDefault" checked, it's styled as Focused, can I change this?

As a workaround, I would create another style for default buttons, or handle the 'enter' event myself, but I would like not to do this.

Re: Default Button

Posted: Mon Jun 06, 2016 9:50 am
by Stewart Marshall
The default button uses the focus style. It's been that way in LANSA since day 1. There's nothing in themes to allow this to be changed.

One option is to delete the focusstyle from the button drawstyle, but this of course means that a button won't ever show as focus.

The other alternatives are as you described.

Regards