Hi Ralph, use this method:
getOpenFilename(owner, caption, path, patterns="*", initial=0)
and set third parameter on "d:\XXX"
so You can use it like this:
FXFileDialog.getOpenFilename(self, "Open file", "d:\XXX",
pattern,0)
so the default directory will be d: and XXX will be selected.
2010/8/22 Ralph Shnelvar <ralphs at dos32.com>:> Assume a directory d:\XXX exists.
>
> How can I get FXFileDialog to open the root directory and position the
> selection on XXX?
>
> _______________________________________________
> fxruby-users mailing list
> fxruby-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/fxruby-users
>
--
Robert Mitwicki
Kontakt:
? ?? jid: mitfik at jabber.org
? ?? e-mail: mitfik at gmail.com
------------------------------------------
www.partiapiratow.org.pl