Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

File Dialog

Options
  • 12-07-2006 12:33pm
    #1
    Closed Accounts Posts: 36


    Hi,
    I have a file dialog for geting an ouputfile,but each time my dialog is used it strts at c: which i have set it to.I would like it to revert back to the last directory that was used in the previous instance of the dialog.Any ideas?

    Thanks
    Pj


Comments

  • Closed Accounts Posts: 17,208 ✭✭✭✭aidan_walsh


    What language?


  • Closed Accounts Posts: 36 pjfogarty


    In an eclipse plugin

    import org.eclipse.swt.widgets.FileDialog;


  • Registered Users Posts: 21,264 ✭✭✭✭Hobbes


    setFileName(filepath)

    or it could be

    setFilterPath(filepath)

    Read the javadoc.


  • Closed Accounts Posts: 36 pjfogarty


    thanks a lot


Advertisement