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 » 2 Buttons clicked
2 Buttons clicked [message #58727] Thu, 04 August 2022 11:02 Go to next message
Mesimo is currently offline  Mesimo
Messages: 10
Registered: August 2022
Location: BENGEURIR
Promising Member
I want a condition for 2 buttons



if ( button1 clicked && button2 clicked)
{
instructions
}

Do you have any adeas

thanks
Re: 2 Buttons clicked [message #58757 is a reply to message #58727] Sat, 20 August 2022 10:36 Go to previous message
deep is currently offline  deep
Messages: 251
Registered: July 2011
Location: Bangalore
Experienced Member
Hi Mesimo,

You can try using button Enable / Disable functions of button class.

Keep only button1 enabled at begining.
Enable button2 on clicking button1.

Do your action on button2.


Warm Regards

Deepak
Previous Topic: Clickable SetImage in Button
Next Topic: Text painting issue with 'const char*'
Goto Forum:
  


Current Time: Mon Oct 03 23:58:27 CEST 2022

Total time taken to generate the page: 0.00904 seconds