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 » Developing U++ » U++ TheIDE and Library: Releases and ChangeLogs » scrollbar missing for LineEdit [FIXED]
scrollbar missing for LineEdit [FIXED] [message #664] Tue, 24 January 2006 10:09 Go to previous message
hojtsy is currently offline  hojtsy
Messages: 241
Registered: January 2006
Location: Budapest, Hungary
Experienced Member
When the text of the lineedit is modified programatically, the scrollbar is not displayed even if the text is longer than the horizontal size. In this example, try to enter a long text in the upper LineEdit. The lower lineedit should get a scollbar the same time as the upper one, as their contents are kept the same.
#include <CtrlLib/CtrlLib.h>
class Test : public TopWindow
{
public:
  LineEdit a, b;
  Splitter s;
  void aChanged() { b <<= ~a; }
  Test()
  {
    a <<= THISBACK(aChanged);
    Add(s.Vert(a, b).SizePos());
    Zoomable().Sizeable();
  }
  typedef Test CLASSNAME;  
};

GUI_APP_MAIN
{
   Test().Run();
}

[Updated on: Sun, 30 April 2006 16:41] by Moderator

Report message to a moderator

 
Read Message
Read Message
Previous Topic: TopWindow title charset problem on win9x - [FIXED]
Next Topic: FileSelector charset problem - patch
Goto Forum:
  


Current Time: Tue May 14 22:00:37 CEST 2024

Total time taken to generate the page: 0.01999 seconds