Jump to content


Photo

TNxButton with Badge.


  • Please log in to reply
7 replies to this topic

#1 Speed

Speed
  • Members
  • 190 posts
  • Gender:Male

Posted 11 August 2022 - 05:11 AM

Hi Boki,

 

How difficult would it be to do something like shown in the attached image?  I believe it's called a "Badge".  The number is a property of the button.

 

The only problem with this is that, unless you use the specific panel that comes with this button, the badge is cut off.

 

So what I was thinking was if there was a way to overlay the badge or something similar on a TNxButton, either as a feature of the button or by doing a custom draw. 

 

What do you think?

 

I'm happy to do it as a custom draw if you can point me in the right direction.

 

= Steve

 

Attached Files



#2 Speed

Speed
  • Members
  • 190 posts
  • Gender:Male

Posted 13 August 2022 - 03:40 AM

Any thoughts?



#3 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 13 August 2022 - 11:03 PM

Hi,

 

I’m considering adding it. Maybe I will add it to upcoming version to TNxButton6.


boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#4 Speed

Speed
  • Members
  • 190 posts
  • Gender:Male

Posted 14 August 2022 - 01:22 AM

Hi,

 

I’m considering adding it. Maybe I will add it to upcoming version to TNxButton6.

That would be fantastic Boki!



#5 Speed

Speed
  • Members
  • 190 posts
  • Gender:Male

Posted 20 August 2022 - 02:38 AM

How do I use the TNxButton's OnPaint event?



#6 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 20 August 2022 - 10:01 AM

Hi,

 

This feature is almost ready and will be included in the next update (in few days).


boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#7 Speed

Speed
  • Members
  • 190 posts
  • Gender:Male

Posted 21 August 2022 - 01:17 AM

Hi,

 

This feature is almost ready and will be included in the next update (in few days).

Oh wow. That's great news. Thank you!



#8 Speed

Speed
  • Members
  • 190 posts
  • Gender:Male

Posted 25 August 2022 - 03:58 AM

I have installed the version with the TNxButton6 badge.

 

Thank you!

 

= Steve






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users