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 » LineEdit, EditFields, DocEdit » LineEdit and WhenLeftClick
LineEdit and WhenLeftClick [message #11843] Thu, 27 September 2007 16:34 Go to next message
forlano is currently offline  forlano
Messages: 1182
Registered: March 2006
Location: Italy
Senior Contributor
Hello,

Unfortunately WhenLeftClick is absent in LineEdit and I do not know how to wake up a method to process a row in the LineEdit after a click on it. Any suggestion?

Perhaps I should use an arrayctrl as container for the text...

Thanks,
Luigi
Re: LineEdit and WhenLeftClick [message #11844 is a reply to message #11843] Thu, 27 September 2007 16:42 Go to previous messageGo to next message
forlano is currently offline  forlano
Messages: 1182
Registered: March 2006
Location: Italy
Senior Contributor
forlano wrote on Thu, 27 September 2007 16:34

Hello,

Unfortunately WhenLeftClick is absent in LineEdit and I do not know how to wake up a method to process a row in the LineEdit after a click on it. Any suggestion?

Perhaps I should use an arrayctrl as container for the text...

Thanks,
Luigi


I've addressed the strings to an arrayctrl where leftclick is present and the problem has been resolved.
Anyway the leftclick could be useful in lineedit too.

Luigi
Re: LineEdit and WhenLeftClick [message #11845 is a reply to message #11844] Thu, 27 September 2007 17:24 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Well, you can add LeftClick to any widget by subclassing and overriding LeftDown - only do not forget to call the subclassed method too...

Mirek
Previous Topic: DocEdit, intersection between text displayed and display area
Next Topic: EditIntSpin is to provide operator=(int)
Goto Forum:
  


Current Time: Fri Mar 29 06:37:41 CET 2024

Total time taken to generate the page: 0.01350 seconds