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

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: Sat May 02 12:28:14 GMT+2 2026

Total time taken to generate the page: 0.00684 seconds