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 » hiding the vertical scrollbar of LineEdit Ctrl
Re: hiding the vertical scrollbar of LineEdit Ctrl [message #38096 is a reply to message #38093] Fri, 30 November 2012 12:19 Go to previous messageGo to previous message
navi is currently offline  navi
Messages: 107
Registered: February 2012
Location: Sydney, Australia
Experienced Member
Quote:

Don't you love it how the U++ interface is uniform across all the widgets?

absolutely love u++ uniform interface acrosse the widgets!! as well as everything else about it. I am adicted to U++. But you are awesome too. How do you know these things? isn't scrollbar still a undocumented class?


also as per your code I have modified my version of LineEditExtended to the followings. works like a charm. I am also planing to make some farther modification to LineEdit to make it more like NotePad++. like adding Find And Replace, Block Selection, Syntex Highlight etc. I found my starting point here at this thread: Advanced Line Edit proposal - part I

class LineEditExtended : public LineEdit{
	public:
		virtual void NewScrollPos(){
                        WhenScrollChange();
                }
		
		void NoScrollbar(){
			sb.NoAutoHide();
			sb.Hide();
		}
		
		void NoVertScrollbar(){		
			sb.y.NoAutoHide();
			sb.y.Hide();
		}

		Callback WhenScrollChange;
};




I have already manage to teach it (LineEditExtended) to sort filneams and filetype for me! Very Happy no credit to me, but HUGE thanks to U++ and its awesomeness.

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

regards
Navi
  • Attachment: rp.png
    (Size: 45.50KB, Downloaded 564 times)

[Updated on: Fri, 30 November 2012 13:54]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: moveable question
Next Topic: Changing EditFields from header files
Goto Forum:
  


Current Time: Sat Jul 05 21:28:52 CEST 2025

Total time taken to generate the page: 0.04693 seconds