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

Home » Community » Newbie corner » How can I callback on staticimage click
How can I callback on staticimage click [message #35326] Fri, 03 February 2012 07:21 Go to previous message
jerson is currently offline  jerson
Messages: 202
Registered: June 2010
Location: Bombay, India
Experienced Member

Hello

I have this series of staticimage widgets that are to be clickable. When the user clicks on one, I update a global variable that will be used elsewhere in the code.

index.php?t=getfile&id=3633&private=0


I cannot figure how to capture the mouse click on the static images. Do I need to make a class derived from staticimage widget and then capture the LeftDown event? Or is it something very simple?

Can someone please help me out here.

thanks
Jerson
  • Attachment: LDG.jpg
    (Size: 10.85KB, Downloaded 1331 times)
 
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: Thu Nov 26 12:29:35 GMT+1 2026

Total time taken to generate the page: 0.00614 seconds