Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » U++ community news and announcements » 2023.1 alpha
Re: 2023.1 alpha [message #59873 is a reply to message #59866] Mon, 15 May 2023 08:38 Go to previous message
Tom1
Messages: 1217
Registered: March 2007
Senior Contributor
mirek wrote on Sat, 13 May 2023 18:47
Tom1 wrote on Fri, 12 May 2023 10:23
Hi Mirek,

There is an issue with FileSel with the current version. I can select a file, e.g. "datafile.csv", but the returned result is "datafile.csv.csv". Sometimes FileSel compalains it cannot find the file that was picked up from the list:

	FileSel fs;
	fs.Multi();
	fs.Type(t_("All supported formats"),"*.csv; *.CSV; *.txt; *.TXT");
	fs.Type(t_("Comma separated values file"),"*.csv; *.CSV");
	fs.Type(t_("Text file"),"*.txt; *.TXT");
	
	if(fs.ExecuteOpen(t_("Import data file"))){

Best regards,

Tom


Remove ';'.

		fs.Type(t_("All supported formats"),"*.csv *.CSV *.txt *.TXT");
		fs.Type(t_("Comma separated values file"),"*.csv *.CSV");
		fs.Type(t_("Text file"),"*.txt; *.TXT");

Thanks Mirek!

For some unknown reason I never knew there was no need for this semicolon.

Best regards,

Tom
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: MacOS is POSIX...
Next Topic: 2023.1rc1
Goto Forum:
  


Current Time: Fri May 31 05:16:15 CEST 2024

Total time taken to generate the page: 0.00847 seconds