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 » U++ Library support » LineEdit, EditFields, DocEdit » About the beahaviour of FileSel fs.Type
About the beahaviour of FileSel fs.Type [message #3801] Tue, 27 June 2006 15:55 Go to previous message
forlano is currently offline  forlano
Messages: 1185
Registered: March 2006
Location: Italy
Senior Contributor
Hello,

I have the following piece of code
 FileSel fs; // for Linux and windows
 String fn;
 fs.Type( t_("archive FIDE (txt)"), "*.txt") //type 1
   .Type( t_("archive VEG (csv)"), "*.csv;*.veg") //type 2
   .Type( t_("national archive with Fixed Length (txt)"), "*.txt")   //type 3   
 .Type( t_("archive FSI Italy (csv)"), "*.csv")  //type 4
	  .DefaultExt("txt");

As you can see type 1 and type 3 are both "*.txt" but are processed differently by the program. The problem is that if I select in the drop list type 3, at the end is shown always type 1. I wonder if this is normal and related to the fact that there are two type with the same extension. In fact if I set the extension "*.pxp" for type 3 I can select it.

Luigi
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to print the selected text in a LineEdit
Next Topic: Right aligned EditField?
Goto Forum:
  


Current Time: Thu Apr 25 07:19:22 CEST 2024

Total time taken to generate the page: 0.03697 seconds