1. selectDirectory( ) dialog startup
- Posted by Antonio Alessi <a.admin at myway.it> Jun 29, 2006
- 530 views
It could be fine to open the selectDirectory( ) dialog starting from a custom folder instead of "My Documents". Somebody knows how to? Thanks antonio
2. Re: selectDirectory( ) dialog startup
- Posted by akusaya at gmx.net Jun 29, 2006
- 529 views
> 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
3. Re: selectDirectory( ) dialog startup
- Posted by Antonio Alessi <a.admin at myway.it> Jun 29, 2006
- 522 views
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
4. Re: selectDirectory( ) dialog startup
- Posted by Antonio Alessi <a.admin at myway.it> Jun 30, 2006
- 518 views
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