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 » How to select a starting directory for the FileSel
How to select a starting directory for the FileSel [message #2939] Mon, 01 May 2006 01:30 Go to previous message
forlano is currently offline  forlano
Messages: 1185
Registered: March 2006
Location: Italy
Senior Contributor
Hello,

Each time I open a FileSel dialog it starts from the root of my PC. Instead I would like to set the directory from where to start. I used the method BaseDir, for example:
	fs.BaseDir("C:\\MyApps\\Vega2\\souceVega");

In this case it starts from C:\\MyApps\\Vega2\\souceVega but I cannot move back from that level because the button dirup is disabled!
So I tried
   fs.dirup.Enable(); //fs.dirup.Enable(true); 
   fs.BaseDir("C:\\MyApps\\Vega2\\souceVega");

with no success. Any idea?

Moreover I would like to get my application directory to supply to FileSel but how can I get it?

Luigi
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: BrowseDirCtrl component
Next Topic: Get Files in a directory
Goto Forum:
  


Current Time: Fri Apr 19 16:52:49 CEST 2024

Total time taken to generate the page: 0.03561 seconds