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 » Community » Newbie corner » How can I callback on staticimage click
Re: How can I callback on staticimage click [message #35388 is a reply to message #35380] Thu, 09 February 2012 05:09 Go to previous messageGo to previous message
jerson is currently offline  jerson
Messages: 202
Registered: June 2010
Location: Bombay, India
Experienced Member

Thanks for the tip Sergey

Is there some equivalent to something like this that I used to do in VB?

I am trying to replicate a VB6 implementation that has this:
I have a number of images called Image(0) to Image(12)
Clicking any of this image allows me to pick the index of the image that is clicked. I can use this index to pass into my program.

My UPP version has this
A number of images on a layout(not ideal). I'd rather do this in code later.
Clicking a particular image would give me the index of which image was clicked.

I am sorry for the extremely dumb question, but, I am still pretty raw at UPP and C++. After my initial success with UPP in my first project, I am quite sure it can be done easily. However, my current knowledge level doesn't make it easy for me. Any help (even pseudo code) will help me.

Thanks
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [SOLVED] Background in dockable GL objects
Next Topic: EditDouble background color
Goto Forum:
  


Current Time: Sun Jun 15 17:54:38 CEST 2025

Total time taken to generate the page: 0.21352 seconds