Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
Director and Flash Training (and more) on CD
GetPixelColour
Frame Trigger-Alphamania
Sharp Image Export Xtra
3D Groove
Frogger by J.R.D.R.
V12-L
simMode4.0 For multi-moniter
Director 8 and Lingo: Inside Macromedia Series
Menus like VB
MediaMacros Xtras Mall
 

 

 

Behavior Browse Folders Dialog Behavior

Added on 2/24/2003

 

Compatibilities:
behavior D6_5 D7 D8 D8_5 D9 PC US

Required Xtras:
HandyDialog Xtra

This item has not yet been rated

Author: Shockdev

Generic behavior to display Select Folder Dialog.

-- Browse Folders Dialog Behavior
-- HandyDialog Xtra 1.0 or later is required
-- by Meliora Software www.meliorasoft.com/xtras/
-- Compatibilities: Director 6 or higher Windows

property Title

on getPropertyDescriptionList
  set description = [:]
  addProp description, #Title, [#default:"", #format:#string, #comment:"Dialog Title:"]
  return description
end

on mouseDown
  browseDialog
end

on browseDialog

  set Ok = showBrowseDialog(Title)

  if getAt(Ok,1) = 0 then
    if count(Ok) = 3 then
      -- Some folder was selected
      put getAt(Ok,3)
    else
      --  Cancel button was clicked
      put "Cancel button was clicked"
    end if
  else
    -- Error occured
    alert("Error: " & getAt(Ok, 1) & " - base error code")
  end if
  
end

on getBehaviorDescription
  return "- -   Browse Folders Dialog Behavior   - -"
end

 


Upload Provided by ABCUpload ASP

Contact

MMI
22 West Court Sq
Suite 2C
Newnan, GA 30263
USA

Fax - (206) 339-5833

Send e-mail