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 » LineEdit event on click on scrollbar
Re: LineEdit event on click on scrollbar [message #38968 is a reply to message #38965] Fri, 01 February 2013 01:01 Go to previous messageGo to previous message
mircerlancerous is currently offline  mircerlancerous
Messages: 4
Registered: January 2013
Junior Member
Thanks for the snippet Navi.

Now I'm confused. Does all that code go in the main app or in the LineEdit.cpp or TestEdit.h? I'm really unclear as to how callbacks are triggered so I might need some extra hand-holding on this one. I put the following in my public class area:

virtual void NewScrollPos(){ WhenScrollChange();}
Callback WhenScrollChange;


And then the following in my class constructor where 'output' is the name of the LineEdit widget.

output.WhenScrollChange << THISBACK(ScrollLeftDown);

I just get the compiler error that 'WhenScrollChange' is not a member of LineEdit.

Thanks for your help and patience.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to use StringStream?
Next Topic: Do I still need the SVO_VALUE flag the use small value optimization?
Goto Forum:
  


Current Time: Sat May 11 21:09:19 CEST 2024

Total time taken to generate the page: 0.03135 seconds