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 » FileSel&FileList, Path » Problem with FileSel
Problem with FileSel [message #27082] Thu, 24 June 2010 23:12 Go to previous message
koldo is currently offline  koldo
Messages: 3357
Registered: August 2008
Senior Veteran
Hello Mirek

There is a problem with FileSel, at least choosing a file for reading.

It contains a DropList called type.

To add a new type it is used:

type.Add(type.GetCount(), name);

However if a name with wildcards is included as file name, it is called this:

type.Add(fn, t_("Custom file type (") + fn + ')');

After choosing the file, the program gets an exception here:

int ti = ~type;

As type contains an String, it cannot be assigned to an int.


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Previous Topic: FileSel file seting
Next Topic: Style for FileSel / FileList
Goto Forum:
  


Current Time: Thu Apr 25 08:11:16 CEST 2024

Total time taken to generate the page: 0.04154 seconds