<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body><BR> <BR>
<P style="BACKGROUND: white"><SPAN lang=EN-US style="DISPLAY: none; FONT-SIZE: 8.5pt; COLOR: #444444; FONT-FAMILY: Verdana; mso-hide: all; mso-ansi-language: EN-US">hi stephani,</SPAN></P>
<P style="BACKGROUND: white"><SPAN lang=EN-US style="DISPLAY: none; FONT-SIZE: 8.5pt; COLOR: #444444; FONT-FAMILY: Verdana; mso-hide: all; mso-ansi-language: EN-US"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN> </P>
<P style="BACKGROUND: white"><SPAN lang=EN-US style="DISPLAY: none; FONT-SIZE: 8.5pt; COLOR: #444444; FONT-FAMILY: Verdana; mso-hide: all; mso-ansi-language: EN-US">You will require some inline script to implement drag-and-drop or other mouse operations. Note that real drag and drop operations might experience screen flickering when the drawing operations (including the background) are complex or when the computer is slow. To avoid this problem you could use two single-click operations on source and destination area’s. I’ve used the HitTest function of the slide object in several scripts to determine which area was selected. The nice thing about this is that the slide sub-objects can also be an empty slidetext subobject. (I.e. a dummy slidetext subobject to define a selectable area.) To change the position of a slide sub-object you can modify the X and Y properties of the objects before the slide is drawn.</SPAN></P>
<P style="BACKGROUND: white"><SPAN lang=EN-US style="DISPLAY: none; FONT-SIZE: 8.5pt; COLOR: #444444; FONT-FAMILY: Verdana; mso-hide: all; mso-ansi-language: EN-US"><o:p></o:p></SPAN> </P>
<P style="BACKGROUND: white"><SPAN lang=EN-US style="DISPLAY: none; FONT-SIZE: 8.5pt; COLOR: #444444; FONT-FAMILY: Verdana; mso-hide: all; mso-ansi-language: EN-US">However, you don’t have to use slides if you can draw the screen yourself with some inline script. An example of this approach can be found at: <A href="http://www.psy.vu.nl/download/menu/xml/eprime_script_tohx.xml">http://www.psy.vu.nl/download/menu/xml/eprime_script_tohx.xml</A><o:p></o:p></SPAN></P>
<P style="BACKGROUND: white"><SPAN lang=EN-US style="DISPLAY: none; FONT-SIZE: 8.5pt; COLOR: #444444; FONT-FAMILY: Verdana; mso-hide: all; mso-ansi-language: EN-US"><o:p> </o:p></SPAN></P>
<P style="BACKGROUND: white"><SPAN lang=EN-US style="DISPLAY: none; FONT-SIZE: 8.5pt; COLOR: #444444; FONT-FAMILY: Verdana; mso-hide: all; mso-ansi-language: EN-US">best,</SPAN></P>
<P style="BACKGROUND: white"><SPAN lang=EN-US style="DISPLAY: none; FONT-SIZE: 8.5pt; COLOR: #444444; FONT-FAMILY: Verdana; mso-hide: all; mso-ansi-language: EN-US"><o:p></o:p></SPAN> </P>
<P style="BACKGROUND: white"><SPAN lang=EN-US style="DISPLAY: none; FONT-SIZE: 8.5pt; COLOR: #444444; FONT-FAMILY: Verdana; mso-hide: all; mso-ansi-language: EN-US">Paul Groot<o:p></o:p></SPAN></P>
<P style="BACKGROUND: white"><SPAN lang=EN-US style="DISPLAY: none; FONT-SIZE: 8.5pt; COLOR: #444444; FONT-FAMILY: Verdana; mso-hide: all; mso-ansi-language: EN-US">VU University, <?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /><st1:City w:st="on"><st1:place w:st="on">Amsterdam</st1:place></st1:City><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US"><o:p><FONT face="Times New Roman" color=#000000 size=3> </FONT></o:p></SPAN></P>
<BR> <BR>
<HR id=stopSpelling>
<BR>
> From: sma215@nyu.edu<BR>> To: eprime@mail.talkbank.org<BR>> Date: Thu, 19 Apr 2007 13:33:33 -0500<BR>> Subject: drag-and-drop with mouse?<BR>> <BR>> Hi,<BR>> <BR>> Just curious. Someone here is wondering if eprime can implement moving around bmp objects (on a slide, say) by using a mouse to click on a bmp/object, drag it to a new location on the screen, and drop in a new location. <BR>> <BR>> My present thought is to use strHit to compare a click location to a particular object on a slide, bmpX (say, defined as an attribute on a trial list) - based on a sample program at eprime downloads (response areas for mouse input). that would identify which bmp was selected. <BR>> <BR>> but instead of drag-and-drop, the subject could then click a destination location on another part of the screen - is there any way to then 'move' the selected/first-clicked-on-bmpX to the new location chosen by the second mouse click? are predefined destination locations the way to go, as in, treat the destinations as objects on a slide, too (say, 9 are allowed), and then display a different slide state to reflect the new location of bmpX?<BR>> <BR>> any suggestions appreciated.<BR>> Thanks, Stephani<BR>> <BR>> <BR>> <BR>> Stephani Foraker<BR>> *Please note my preferred email address*<BR>> sforaker@uchicago.edu<BR>> <BR><BR><br /><hr />In 2 tellen een webpagina voor al je fotos makkelijk en gratis met Windows Live Spaces <a href='http://clk.atdmt.com/MSN/go/msnnksac0030000001msn/direct/01/?href=http://www.imagine-msn.com/spaces' target='_new'>Windows Live Spaces</a></body>
</html>