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 » 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: 1106
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: Sat Aug 23 20:02:13 CEST 2025

Total time taken to generate the page: 0.03611 seconds