Jump to content

TUniMemo horizontal scrollbar (not sure if it's a bug..)


tappatappa

Recommended Posts

Is there a way to force a TUniMemo to display (in web mode, of course) the horizontal scrollbar instead of automatically add a new line?

 

Example

 

New Form. Add a TUniMemo (width <100, ScrollBars BOTH, WordWrap True or False).

 

Form->OnCreate:

void __fastcall TMainForm::UniFormCreate(TObject *Sender)
{
  UniMemo1->Lines->Add( u"foobar foobar foobar");
  UniMemo1->Lines->Add( u"foobar foobar foobar");
  UniMemo1->Lines->Add( u"foobar foobar foobar");
  UniMemo1->Lines->Add( u"foobar foobar foobar");
}

 

When you run the application you'll see that in web mode it only shows the vertical scrollbar and the text is automatically wrapped.

 

Environment

Microsoft Windows XP Professional 32bit (also tested on Windows 7 Ultimate 64bit)

RAD Studio XE2 (c++ builder)

UniGUI 0.90, 0.91

Browser Mozilla Firefox 18.0.2, Internet Explorer 8.0.6, Waterfox 18


Also tested browser: Iceweasel 10.0 (Debian 6, KDE)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...