U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » Clickable SetImage in Button
Re: Clickable SetImage in Button [message #58725 is a reply to message #58724] Thu, 04 August 2022 00:13 Go to previous messageGo to previous message
Klugier is currently offline  Klugier
Messages: 1118
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello,

You are doing it wrongly and it is not valid C++. In this case you need to have lambda per button:
but_chad << [=] { Next(); };
but_next << [=] { Next(); };


Use this tutorial for reference.

Klugier


U++ - one framework to rule them all.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Is there a way to get all character supported in a font with Font?
Next Topic: 2 Buttons clicked
Goto Forum:
  


Current Time: Wed Jun 24 14:41:18 GMT+2 2026

Total time taken to generate the page: 0.00721 seconds