Scrollable Textboxes

jgm

Member
Licensed User
I'm trying to use a form with just one MultiLine Textbox to provide some help text to other forms.
The text needs to be scrolled because it does not fit in the normal window size.

The Textbox is not intended for input; just for reading the help text; so I unchecked the Enable CheckBox for that TextBox.

When I call that form from another, if the Textbox is enabled I can scroll the text in the box; but if the TextBox is not enabled I am not able to scroll the text.

Is there a way to overcome this situation or a better way to provide help text.

Jose
 

Cableguy

Expert
Licensed User
Longtime User
On the keypress event use ignorekeys..
Do some search on the foeum, as this surelly has been adressed before...
 

agraham

Expert
Licensed User
Longtime User
Might be worth a try but I don't what disabling the Textbox would do to it.
"obj" is a Door library Object
B4X:
obj.New1(False)
obj.FromControl("Textbox1")
obj.SetProperty("WordWrap",  False)
obj.SetProperty("ScrollBars",  "Both")
obj.SetProperty("ReadOnly",  True)

EDIT :- Added the ReadOonly property. Use any or all of the properties to suit. ReadOnly might mean that you need not disable the control but I haven't tried this.
 
Last edited:
Top