Disable menu item

Charles Szasz cszasz at mac.com
Wed Mar 28 19:04:40 EDT 2007


Jim,

I forgot to include my latest script:
case "Export..."
     if field "vmiFld" of card index > "" or field "nvmiFld" of card  
index > "" \
         or field "cmiFld" of card index > "" or field "vdriFld" of  
card index > "" \
         or field "aciFld" of card index > "" or field "sriFld" of  
card index > "" \
         or field "friFld" of card index > "" or field "ariFld" of  
card index > "" \
         or field "liFld" of card index > "" and name of card = card  
"index"
         then
       enable line 2 of button "file"
       send mouseUp to button "export" of card "index"
     else
       answer information "You must have some results before you can  
export."
     end if
     break
The script works except for the last part ----name of card = card  
"index"


Charles Szasz
cszasz at mac.com






More information about the use-livecode mailing list