Browse for folder

and load pictures

Someone help me with this little problem .
I have a widget that uses the drag and drop picture on the object but I would like to be able to browse to a folder and pick a picture to use in it .
And maybe use a timer to refresh a differant picture from the folder.
Anyone have some code or where I could look .
Thank you for any help .
4,290 views 5 replies
Reply #1 Top
You could use System.FileOpenDialog Link, which will give you a standard file open dialog to browse for your picture load.
Reply #2 Top
Where could I find that code so I could see it and how it looks ?
Thank you for the help .
Reply #3 Top
He gave you the link to the documentation...... all you have to do is look.

Developers Guide > Scripting > Reference > System namespace > System.FileOpenDialog (title, defaultFile, intialDir, extensions, flags), System.FileSaveDialog (title, defaultFile, intialDir, extensions, flags)

Reply #4 Top
Sorry didn't see the link ? firefox didn't show any link so didn't know it was there till you said something .
Reply #5 Top
oops! sorry 'bout that.