Syntax to revers text order in textbox

  • Thread starter Thread starter Brian
  • Start date Start date
B

Brian

Hi,

What is the syntax for appending last bit of text to the top of a textbox?
Any help is appreciated.

Brian
 
Hi, what exactly is the 'last bit of text'?

--
HTH,
-- Tom Spink, Über Geek

Please respond to the newsgroup,
so all can benefit

"Maybe it's a game called 'Punish the User'"
 
Hello,

Brian said:
What is the syntax for appending last bit of text to the
top of a textbox?

\\\
Me.TextBox1.Text = "Bla" & Me.TextBox1.Text
///

-- or --

\\\
Me.TextBox1.Select(0, 0)
Me.TextBox1.SelectedText = "Bla"
///

HTH,
Herfried K. Wagner
 
Herfried,
I don't understand the logic from the second example.
It works I had no doubt but did want to know why?
I tried it. You select nothing and says the position from that is 0,0 than
you fill that, and it is put in the textbox.

I find it strange, when there is logic, will you tell me that?

Or is it just that there once was an error in the logic and they let it that
way?

Cor
 
Hello,

Cor said:
I don't understand the logic from the second example.
It works I had no doubt but did want to know why?
I tried it. You select nothing and says the position from that is 0,0 than
you fill that, and it is put in the textbox.

I find it strange, when there is logic, will you tell me that?

The 'SelectedText' property sets or gets the selected text in the textbox.

;-)

Regards,
Herfried K. Wagner
 
Herfried,
It could be, that I readed it wrong, I never shall say I do that always
right, but:
MSDN, SelectedText = Gets or sets a value indicating the currently selected
text in the control
What am I reading wrong, and don't say you ain't good in English.
It was almost German that Fergus wrote, I was translating it with some
Germanized words, till I came to "plenty" and that is of course from plein
(and you know Latin or is that molto).
:-)
Cor
 
Back
Top