xilace Posted August 1, 2009 Share Posted August 1, 2009 Basically i'm looking to have the same functionality that a install program does. Where it will show you the default path for a file/folder where it will install, but you can always click "browse" to choose another location. I was thinking of doing this with a label and a button and have the label update its text based on what the user chooses as a file to open/save. I was curious if this was already built into another function that i'm just completely not thinking of though. Any thoughts? Link to comment Share on other sites More sharing options...
Hawkwing Posted August 1, 2009 Share Posted August 1, 2009 (edited) You should search the helpfile before posting. Check out FileOpenDialog and FileSaveDialog. Edited August 1, 2009 by Hawkwing The Wheel of Time turns, and Ages come and pass, leaving memories that become legend. Legend fades to myth, and even myth is long forgotten when the Age that gave it birth comes again. Link to comment Share on other sites More sharing options...
xilace Posted August 1, 2009 Author Share Posted August 1, 2009 Yes i already know those and use them. Thanks for the 'kind' post though... I was curious more about the text being updated automatically in the window. Thats where i said I was assuming i would use the open/save dialog and have it update the label variable. But was simply curious if that was the best method or if i was making it to difficult. Link to comment Share on other sites More sharing options...
Hawkwing Posted August 1, 2009 Share Posted August 1, 2009 I think that would definitely be the best method, to do anything else I think you would have to write your own open/save dialog. Sorry about the not so kind post, but a lot of new people come here and ask for answers without trying anything themselves. The Wheel of Time turns, and Ages come and pass, leaving memories that become legend. Legend fades to myth, and even myth is long forgotten when the Age that gave it birth comes again. Link to comment Share on other sites More sharing options...
xilace Posted August 1, 2009 Author Share Posted August 1, 2009 doing a open/save dialog with it writing back the file path to a variable which would be the label is about all i can think of, searched help file, forums, and google to no avail. So if thats the way to do it that will do. Thanks much Link to comment Share on other sites More sharing options...
belgaila6 Posted August 2, 2009 Share Posted August 2, 2009 thank you very mutch, thats helps me >_ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now