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
-~----------~----~----~----~------~----~------~--~---

Reply via email to