1. selectDirectory( ) dialog startup

It could be fine to open the selectDirectory( ) dialog 
starting from a custom folder instead of "My Documents".

Somebody knows how to?

Thanks 
antonio

new topic     » topic index » view message » categorize

2. Re: selectDirectory( ) dialog startup

> It could be fine to open the selectDirectory( ) dialog
> starting from a custom folder instead of "My Documents".

> Somebody knows how to?

Use my 5-years-old submission :p

http://www.rapideuphoria.com/browsdir.zip

new topic     » goto parent     » topic index » view message » categorize

3. Re: selectDirectory( ) dialog startup

akusaya wrote:
> 
> > It could be fine to open the selectDirectory( ) dialog
> > starting from a custom folder instead of "My Documents".
> 
> > Somebody knows how to?
> 
> Use my 5-years-old submission :p
> 
> http://www.rapideuphoria.com/browsdir.zip
> 

Done successfully!

Thanks :o

antonio

new topic     » goto parent     » topic index » view message » categorize

4. Re: selectDirectory( ) dialog startup

Antonio Alessi wrote:
> 
> akusaya wrote:
> > 
> > > It could be fine to open the selectDirectory( ) dialog
> > > starting from a custom folder instead of "My Documents".
> > 
> > > Somebody knows how to?
> > 
> > Use my 5-years-old submission :p
> > 
> > <a
> > href="http://www.rapideuphoria.com/browsdir.zip">http://www.rapideuphoria.com/browsdir.zip</a>
> > 
> 
> Done successfully!
> 
> Thanks :o
> 
> antonio

Hi again akusaya,

a small enhancement using your getFolder() routine, 
where:
if length(filename)=2 and filename[2]=':' then
		filename &= '\\'
	elsif filename[$] = '\\' then
		filename = filename[1..$-1]
	end if

	
could be conveniently replaced by:

if length(filename)=2 and filename[2]=':' then
		filename &= '\\'
	elsif length(filename) and filename[$] = '\\' then
		filename = filename[1..$-1]
	end if	


allowing the user to declare the starting directory,
or not, 
thus opening the dialog on the default system folder
without getting any error.

antonio

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu