Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Look and Chameleon Technology » Look of focused button
Look of focused button [message #50588] Thu, 22 November 2018 14:56 Go to next message
Zbych is currently offline  Zbych
Messages: 296
Registered: July 2009
Experienced Member
Can anyone tell me how to change the look of a button that has focus?

It appears that Button::Style::look[0...3] work for all other states excluding focused state.

index.php?t=getfile&id=5703&private=0



  • Attachment: focus.gif
    (Size: 20.51KB, Downloaded 72 times)

[Updated on: Thu, 22 November 2018 15:30]

Report message to a moderator

Re: CtrlLayoutOKCancel messes with look of focused button [message #50589 is a reply to message #50588] Thu, 22 November 2018 14:58 Go to previous messageGo to next message
Zbych is currently offline  Zbych
Messages: 296
Registered: July 2009
Experienced Member
No Message Body

[Updated on: Thu, 22 November 2018 15:16]

Report message to a moderator

Re: Look of focused button [message #50590 is a reply to message #50588] Fri, 23 November 2018 09:20 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 11552
Registered: November 2005
Ultimate Member
Zbych wrote on Thu, 22 November 2018 14:56
Can anyone tell me how to change the look of a button that has focus?

It appears that Button::Style::look[0...3] work for all other states excluding focused state.

index.php?t=getfile&id=5703&private=0





Well, it is a little bit confused and will be more as I will need to add MacOS focus visuals over time...

Anyway, is that Chameleon example unchanged?

Mirek
Re: Look of focused button [message #50592 is a reply to message #50590] Fri, 23 November 2018 10:02 Go to previous messageGo to next message
Zbych is currently offline  Zbych
Messages: 296
Registered: July 2009
Experienced Member
Quote:

Anyway, is that Chameleon example unchanged?


Yes, no changes at all. I pressed "Color" button and kept pressing TAB key.

[Updated on: Fri, 23 November 2018 10:02]

Report message to a moderator

Re: Look of focused button [message #50593 is a reply to message #50592] Fri, 23 November 2018 10:45 Go to previous message
mirek is currently offline  mirek
Messages: 11552
Registered: November 2005
Ultimate Member
Zbych wrote on Fri, 23 November 2018 10:02
Quote:

Anyway, is that Chameleon example unchanged?


Yes, no changes at all. I pressed "Color" button and kept pressing TAB key.



Well, thats bad for another reason - those buttons in the first row should have current global style...
Previous Topic: Why SColorPaper changes RichTextView font color?
Goto Forum:
  


Current Time: Thu Dec 13 04:54:54 CET 2018

Total time taken to generate the page: 0.00686 seconds