Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Textbox setting tp abbrev file path?

Status
Not open for further replies.

SteveDingle

Programmer
Jul 26, 2004
254
GB
Heya All,

Having a complete brain fart here. I could have sworn I read some where there was a new setting (in VFP9) where I could have a textbox display a file path, abbreviate, if the full path didn't fit in the display. For instance..

C:\programs Files\My Documents\My Projects\My Files\My How I REALLY Hate These Long Paths\My Finally There\MyFile.TXT

and display it as something like

C:\Programs Files\....\My Finally There\MyFile.TXT

Been meaning to update my file selection class with this for ages, finally getting to it.. can't find anything. A pointer to the help file entry OR "It was all a dream Steve" if I'm just loosing it would be great ;-)

Toodles
Steve

Toodles,
Steve Dingle
D&S Business Solutions Ltd
 
The function is DISPLAYPATH(). Realize, though, that it's for display only, not for editable stuff.

BTW, it was added in 7.

Tamar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top