Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows style file selection 1

Status
Not open for further replies.

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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top