Home » U++ Library support » FileSel&FileList, Path » Display FileName without full path
Display FileName without full path [message #37767] |
Sun, 11 November 2012 09:05 |
nlneilson
Messages: 644 Registered: January 2010 Location: U.S. California. Mojave &...
|
Contributor |
|
|
I would like to display only the FileName in an EditField rather than the full path.
This is the code now:
String filename = fn;
FileIn inF((String)fn);
Point2<<=Value(fn);
String GetFileName(const char *path);
How is this used in this case?
I tried several variations and just get errors.
Point2<<=Value(GetFileName(fn));
... (*fn)
Point2<<=GetFileName(fn);
cannot convert parameter 1 from 'Upp::FileSel' to 'const char *'
|
|
|
Goto Forum:
Current Time: Thu Jun 13 05:57:56 CEST 2024
Total time taken to generate the page: 0.02129 seconds
|