|
|
|
|
|
|
|
|
|
|
|
Re: Clickable SetImage in Button [message #58719 is a reply to message #58717] |
Mon, 01 August 2022 21:12   |
 |
Klugier
Messages: 1099 Registered: September 2012 Location: Poland, Kraków
|
Senior Contributor |
|
|
Hello Mesimo,
Please rework your example to be more simple. Just operate on one button and image (not several ones). Also optimally, use images from .iml file not from your hard drive. To do, it please follow "Adding images" tutorial.
Please reduce, your example to one window to reproduce the issue and do not use acronyms like BB (Just name it MyWindow etc.).
Klugier
U++ - one framework to rule them all.
[Updated on: Mon, 01 August 2022 22:35] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
Re: Clickable SetImage in Button [message #58728 is a reply to message #58726] |
Thu, 04 August 2022 15:10  |
 |
koldo
Messages: 3432 Registered: August 2008
|
Senior Veteran |
|
|
Mesimo wrote on Thu, 04 August 2022 11:00
I want a condition for 2 buttons
if ( button1 clicked && button2 clicked)
{
instructions
}
Do you have any adeas
thanks
Hello Mesimo
You can use "Option", that is the check box in U++.
For example, if option1 and option2 have been declared as Option, you can do:
if (option1 && option2) {
Do
}
Best regards
Iñaki
|
|
|