New Delete Feature

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Post Reply
dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10509
Joined: Wed May 06, 2009 2:28 pm

New Delete Feature

Post by dunbarx »

I did not want to place this in the "Feature Requests" area. Perhaps there should be a new tab, "Undocumented Features"? I cannot access (again) the user notes area of the dictionary or I would add it.

On a new card, make six buttons. In the script of the FIRST button:

Code: Select all

on mouseUp
delete btn 3 and btn 4
end mouseUp
Of course all valid LC stuff works as well. Who knows what evil lurks in the heart of LC commands...

Craig Newman
Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: New Delete Feature

Post by Simon »

Cool

Code: Select all

on mouseUp
   delete btn 3 and btn 3
end mouseUp
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
SparkOut
Posts: 2989
Joined: Sun Sep 23, 2007 4:58 pm

Re: New Delete Feature

Post by SparkOut »

Aaaaaaaaaaaarrrrrrrrgghhh!
Scary
FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10105
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: New Delete Feature

Post by FourthWorld »

Works with "select" too.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
sturgis
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1685
Joined: Sat Feb 28, 2009 11:49 pm

Re: New Delete Feature

Post by sturgis »

Wow, scary. And its not new as of 5.5.5.

And yep. 3 buttons on the card, executing delete button 1 and button 1 and button 1 from the msg box kills all 3. Scary, but nifty too.
Post Reply