Why would you want to do that? A textbox is a control where the user can type
something. You shouls use a lable instead, and make it's background white or
whichever color you like.
Kirk,
As long as the user does not need to interact with the text, you can
..Enabled=false for the textbox.
You will lose the scroll bars though.
However, Tamar suggestion of a label may work better.
You can set the label's AutoSize=True, .Width to something suitable,
..MultiLine=true.
No scroll bars, but you can't have everything <g>.
Kirk,
As long as the user does not need to interact with the text, you can
.Enabled=false for the textbox.
You will lose the scroll bars though.
However, Tamar suggestion of a label may work better.
You can set the label's AutoSize=True, .Width to something suitable,
.MultiLine=true.
No scroll bars, but you can't have everything <g>.
So true - and very frustrating ! But I've got a lot further than
expected.
It's a bugger that outputting to the screen is so inflexible.
I don't suppose adding scroll bars to the form would work with the
textbox (or label). Probably not...
I even tried making an image up to cover the cursor, but you can't
have an image on a textbox either. In the end I positioned the cursor
in the least obtrusive place.
I'll play with .Enabled=false because the scrollbars
are only needed where more than 21 lines are output.
Many thanks - Kirk
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.