handler to connect buttons with a line

2011-11-02 Thread Kresten Bjerg
To James Thank you for new reply to my first question Because month-shift and time-differences you missed my followup: I repeat it here The previous replies suggested to produce new buttons and specify new scripts for the buttons. But the buttons will already be named and produced by the user

Re: handler to connect buttons with a line

2011-11-01 Thread James Hurley
Correction: That should have been n * (n-1)/2 connecting lines. Same as the number of hand shakes among n people. :-) Jim ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subs

Re: handler to connect buttons with a line

2011-11-01 Thread James Hurley
tEnd end repeat end repeat end mouseMove On mouseUp put "" into myName end mouseUp on MouseLeave put "" into myName end MouseLeave > -------------- > > Message: 6 > Date: Mon, 31 Oct 2011 15:38:03 +0100 > From: Krest

handler to connect buttons with a line

2011-11-01 Thread Kresten Bjerg
Thank you for replies to my first question (I repeat it, as October postings not included here) : "I have been experimenting to create a handler (as button or menu), which will permit user a)To select two existing moveable button b)Create a line, attaching its endpoints to the buttons, so line w

Re: handler to connect buttons with a line

2011-11-01 Thread André Bisseret
Bonjour Richmond, Vraiment très joli ! André Le 31 oct. 2011 à 20:20, Richmond a écrit : > if you adjust this: > > on mouseDown > grab me > end mouseDown > > to this: > > on mouseDown > grab me > set the idleRate to 1 > end mouseDown > > you get fairly spiffy results! > __

Re: handler to connect buttons with a line

2011-10-31 Thread Richmond
if you adjust this: on mouseDown grab me end mouseDown to this: on mouseDown grab me set the idleRate to 1 end mouseDown you get fairly spiffy results! ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscrib

Re: handler to connect buttons with a line

2011-10-31 Thread Richmond
Cop a load of this: put this script in "Button": on mouseDown grab me end mouseDown on mouseStillDown put the mouseLoc into VL1 set the loc of me to VL1 put the loc of btn "Button" into line 1 of fld "VL" put the loc of btn "Button1" into line 2 of fld "VL" set the points of graphic

Re: handler to connect buttons with a line

2011-10-31 Thread Richmond
On 10/31/2011 07:25 PM, Jim Lambert wrote: Kresten, Create a line, attaching its endpoints to the buttons, so line will stay between them wherever they are positioned on the card. Well, it doesn't feature live updating, by I did thi2: created a card, with a graphic object "Line", and 2 but

Re: handler to connect buttons with a line

2011-10-31 Thread Malte Brill
Hi Kersten, on card level: on moveControl set the points of grc 1 to the loc of btn 1&cr&the loc of btn 2 end moveControl This is not moving the line while dragging though. Stuff to handle that indedd is in AE (Thanks for the plug Jim!) Cheers, Malte __

Re: handler to connect buttons with a line

2011-10-31 Thread Jim Lambert
Kresten, > Create a line, attaching its endpoints to the buttons, so line will stay > between them wherever they are positioned on the card. I believe there are such handlers in the AnimationEngine library. Jim Lambert ___ use-livecode mailing lis

handler to connect buttons with a line

2011-10-31 Thread Kresten Bjerg
Hello I have been experimenting to create a handler (as button or menu), which will permit user a) To select two existing moveable button b) Create a line, attaching its endpoints to the buttons, so line will stay between them wherever they are positioned on the card. c) It is