Hi, I can reproduce the behavior you are describing. But when I set the textbox to multiline, then it will not wrap the text if I set scrollbars=1. It will put it in one line and I can scroll to the end. The Scrollbar will also work fine.
If I set scrollbar=2 then it will wrap the text. Iam using NSBasic v7.05b. Rolf --- In [EMAIL PROTECTED], "clinkerman32" <[EMAIL PROTECTED]> wrote: > > Or maybe it's just me!! > I've been fighting this issue for a while now to get a slick solution > and have simplified some code to explain what I'm trying to do. > All I want to do is have a single line text box that contains more > text than will fit on the screen or within the text box. > Multiline option causes me other issues as the box will then wrap text > which causes other display issues when only a single line is available > for viewing. > So here is the simplified code to demonstrate... > ------------------------------------------------ > AddObject "TextBox", "Text",25, 25, 180, 30 > 'text.multiline = True > text.scrollbars = 1 > text.maxlength = 80 > Text.Text = "Hello World! 123456789012345678901234567890" > > Sub Text_Click > Print "TextBox Text: " & Text.Text > End Sub > ---------------------------------------------------------- > Ok, so what this gives is a textbox containing a long single line of > data that extends beyond the view. > All I can do with it is delete text. I can't add any until the end of > the text is in view. > The scrollbar does not work either. > > So, you might say just enable multiline, but while this appears to > work I can't have users pressing enter here and entering text here > with line breaks. > Is there an easy way out of this? > > Regards > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nsb-ce" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en -~----------~----~----~----~------~----~------~--~---
