mikeb@brahms.udel.edu (Mike Brennan) (10/22/90)
I have been tring to create a button that will delete the current card on the stack. However, I can not find the command to do this. I have tried used doMenu, but it always creates an error. Any ideas? mikeb@brahms.udel.edu
ftdkl@acad3.fai.alaska.edu (LaSota Daniel K) (10/22/90)
In article <14988@brahms.udel.edu>, mikeb@brahms.udel.edu (Mike Brennan) writes... > > I have been tring to create a button that will delete the current card > on the stack. However, I can not find the command to do this. I have > tried used doMenu, but it always creates an error. Any ideas? > > mikeb@brahms.udel.edu Remember anything you can do in the menuBar you can do with a script. Since the "Delete Card" is in the menuBar you would script something like: on wipe domenu "Delete Card" end wipe You might want to set the can'tDelete to false The exact variable is cantDelete The last card of a stack can't be deleted this way either. Also if it is the last card of a protected background then you have to unprotect the background first. Dan LaSota ftdkl@acad3.fai.alaska.edu