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 » FileSel.Type Problem
FileSel.Type Problem [message #20112] Wed, 18 February 2009 18:01 Go to previous message
morley is currently offline  morley
Messages: 10
Registered: January 2007
Promising Member
Hi,

I am writing a program to assemble a specialized file to control another program. This file is comprised of a number of different file names. To make selecting one of the files easier I want to specify the actual last 6 characters in the file and the extension which is based on another file choice. That way the user only has to click the file to get it, no browsing required. As an example, in the code segment below the String EPFMask might be *121408.epf. This code does what I want once, but on subsequent executions with a diferent EPFMask, say *121600.epf it it ignores updates to EPFMask. It seems to only apply the first applied mask. I have verified that EPFMask is updating in the debugger.


Any suggestions about what I am doing wrong.

Thanks,

Tim



fsEPF.Type(t_("epf"), EPFMask);
fsEPF.ActiveDir(EPFPathDisplay);

if(fsEPF.ExecuteOpen(t_("Browse For epf File")))
{
EPFPath=fsEPF.Get();
EPFPathDisplay=EPFPath;
};
 
Read Message
Read Message
Previous Topic: Problem with FileSel called from menu
Next Topic: [COMPILE ERROR] in FileSel.cpp rev. >=1052
Goto Forum:
  


Current Time: Tue Apr 23 17:01:32 CEST 2024

Total time taken to generate the page: 0.02454 seconds