How to with VB.NET?

  • Thread starter Thread starter Mat
  • Start date Start date
M

Mat

I show in textbox the full path of a file.
sometime the path is too long and i want that the filename will always be
visible. the beginning is not important.

instead of " c:\ fileN.." in the text box, i want to always "..\FileName"


How to do it?
 
i find it.
this help me
txtURL.SelectionStart = txtURL.TextLength



does anyone have another idea?
 
Just try it and you will see your self.
After set a long string text of textbox and you want that the end of the
string will be always visible, set the selectionstart to the length of text
and you will see it your self.
 
Back
Top