-
1
- #1
Horrid
Programmer
- May 20, 1999
- 373
Ever wanted to have the user select a file but use the windows interface? Just found out how.
Insert > Control > activeX and select Microsoft common Dialog control.
Now drag the icon onto you probject in an out of the way sprite channel
now to display your open box just do
(sprite spritenumyouused).showopen
then to get the filename
X = (sprite spritenumyouused).filename
And there you have it, a windows open file style dialog in Director. I might actually start using VB controls in Director in preference to director in VB now I found this.
If you have visual basic you can use that to quickly examine the control to find all its uses.
Insert > Control > activeX and select Microsoft common Dialog control.
Now drag the icon onto you probject in an out of the way sprite channel
now to display your open box just do
(sprite spritenumyouused).showopen
then to get the filename
X = (sprite spritenumyouused).filename
And there you have it, a windows open file style dialog in Director. I might actually start using VB controls in Director in preference to director in VB now I found this.
If you have visual basic you can use that to quickly examine the control to find all its uses.