Re: Drag Drop of lines within fields

2005-08-04 Thread Ton Kuypers

:-)) Tnx, that was the one I was looking for!

Works beautifull


On 4-aug-05, at 00:48, Scott Rossi wrote:


Recently, Ton Kuypers  wrote:



I seem to recall that someone created a very nice example of drag 
drop of lines in listfields, but I cans seem to find it anymore... I
just need to rearrange lines in a field by drag  drop...

Could anyone please point me in the right direction or to an example
script?



This might work for you (in your message box):

 go url http://www.tactilemedia.com/download/getinline.rev;

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia  Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Drag Drop of lines within fields

2005-08-04 Thread david bovill

This might work for you (in your message box):

 go url http://www.tactilemedia.com/download/getinline.rev;


Links not working for me? Can you add it to your nice download  
machine thingy?

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Drag Drop of lines within fields

2005-08-04 Thread Wilhelm Sanke

On Wed, 3 Aug 2005, Howard Bornstein [EMAIL PROTECTED] wrote:


(snip)
Scott's solution is very elegant. Wilhelm Sanke also came up with a
fairly simple solution that I find I use frequently for this purpose.
His script is below.
(snip)


Thanks for the reference, Howard.

The first version of this script Howard refers to was produced with help 
from Scott Raney (the creator of Metacard).


Following a similar discussion in February (subject. Drag 
from-within-to fields) I had added a sample stack to my website 
containing 6 different solutions of the drag-drop-lines question, 
including one example that presents a slightly modified version of Scott 
Rossi's stack (hope he has agreed to my modification as an alternative 
to his excellent solution).


The sample stack can be directly downloaded from here

http://www.sanke.org/Software/DragWithListfields.zip

or from page Tools and Samples for Development of 
www.sanke.org/MetaMedia


The scripts can most certainly - as usual - be improved, refined, and 
extended, but they may at least show directions how to tackle some 
problems coming up when you wish to visibly (not just with a drag 
cursor) drag between or inside controls whose locktext is set to true.


-- Wilhelm Sanke


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Drag Drop of lines within fields

2005-08-04 Thread Scott Rossi
Recently, david bovill  wrote:

 This might work for you (in your message box):
 
  go url http://www.tactilemedia.com/download/getinline.rev;
 
 Links not working for me? Can you add it to your nice download
 machine thingy?

Well, there's nothing special about the above link, but GetInLine is now
accessible via our player stack (via message box):

  go url http://www.tactilemedia.com/tmpanel.rev;

Hopefully this works for you.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia  Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Drag Drop of lines within fields

2005-08-03 Thread Scott Rossi
Recently, Ton Kuypers  wrote:

 I seem to recall that someone created a very nice example of drag 
 drop of lines in listfields, but I cans seem to find it anymore... I
 just need to rearrange lines in a field by drag  drop...
 
 Could anyone please point me in the right direction or to an example
 script?

This might work for you (in your message box):

 go url http://www.tactilemedia.com/download/getinline.rev;

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia  Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Drag Drop of lines within fields

2005-08-03 Thread Howard Bornstein
On 8/3/05, Scott Rossi [EMAIL PROTECTED] wrote:
 Recently, Ton Kuypers  wrote:
 
  I seem to recall that someone created a very nice example of drag 
  drop of lines in listfields, but I cans seem to find it anymore... I
  just need to rearrange lines in a field by drag  drop...
 
  Could anyone please point me in the right direction or to an example
  script?
 

Scott's solution is very elegant. Wilhelm Sanke also came up with a
fairly simple solution that I find I use frequently for this purpose.
His script is below.


on mouseDown
  put word 2 of the clickLine into cl
  set the textstyle of line cl of me to bold
  put item 2 of the mouseLoc into starty
  put the effective textHeight of me into th
  repeat while the mouse is down
if item 2 of the mouseLoc - starty  (th/2) then
  lock screen
  put cr  line cl of me after line cl + 1 of me
  delete line cl of me
  add 1 to cl
  set the textstyle of line cl of me to bold
  add th to starty
  unlock screen
else if starty - item 2 of the mouseLoc  (th/2) then
  lock screen
  put line cl of me  cr before line cl - 1 of me
  delete line cl + 1 of me
  subtract 1 from cl
  set the textstyle of line cl of me to bold
  subtract th from starty
  unlock screen
end if
  end repeat
  set the textstyle of line cl of me to plain
  
end mouseDown

-- 
Regards,

Howard Bornstein
---
www.designeq.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution