I have the following code:
<body>
<div id="container" style="position:absolute; left:0px; top:0px; z-index:1;">
<div id="div1" style="background-color:Red; position:absolute; left:0px; top:0px; width:256px; height:256px; z-index:0;" > </div>
<div id="div2" style="background-color:Black; position:absolute; left:2...
Hi,
I am currently writing a program with Qt to organize movies.
I create a QTableView and a QSTandardItemModel, I want the user to be able to drag and drop a movie from the explorer in the view to add it to the movie list.
I currently am able to drag and drop any file in the program, but i only want the user to be able to drop avi or ...
Hi everybody,
I have a html table in which each line (<tr>) represents a group of client computers. Each line can be expanded to show the clients belonging to the group. The <tr> containing the clients are always generated but hidden and showed when clicking the plus button at the beginning of each line.
The clients themselves (they ar...
I have a drag/drop operation on a Canvas that is supposed to do something when an object gets dragged into and out of it. My problem is that the DragEnter/DragLeave events keeps firing as the mouse moves the object over it, not just on enter/exit. The faster the mouse is moving, the more frequently the events fire.
The Canvas DragOver E...
Hello,
I have the following code
xaml
<Canvas x:Name="LayoutRoot" >
<Rectangle Canvas.Left="40" Canvas.Top="40" Width="20" Height="20" Name="rec" Fill="Red" MouseLeftButtonDown="rec_MouseLeftButtonDown" MouseMove="rec_MouseMove" />
</Canvas>
code behind
public partial class MainPage : UserControl
{
public Ma...
I am currently playing around with jqueries drag and drop, basically I currently have a div (.drag_check) that holds a checkbox, I have the drag and drop working but I want to alert out the checkbox's ID once the element is dropped, I assume I have to use child but all my attempts have returned 'undefined'. Below is my code,
$('.drag_c...
I am recently working on a java desktop application which needs to track a path of file which has been recently moved to somewhere in native file system from the known source.
For Example : - Let's suppose i have a file A.txt in %TEMP% folder (C:\Users\Admin\AppData\Local\Temp\A.txt). Now Operating system moves that file to, suppose my ...
I'm trying to implement a simple notebook in Qt. Microsoft OneNote allows text or an image from a website to be inserted by Drag&Drop with an attached link to the source that looks like this for the stackoverflow logo on the 'ask' page: Inserted from
<http://stackoverflow.com/questions/ask>. With the QT dropsite example, I examined all ...
i am using this jquery to make a drag and drop sortable list.
http://jqueryui.com/demos/sortable/
how i can catch the dragged event of elements ?
<script>
$(document).ready(function() {
$("#sortable").sortable();
});
</script>
please help me.am not familiar with jquery.thanks in advance..i need to get the id of dragg...
I've seen this and I have to admit I'm pretty impressed:
http://gmailblog.blogspot.com/2010/04/drag-and-drop-attachments-onto-messages.html
I'm almost certain that this is an HTML 5 feature (it's supported on Chrome and Firefox 3.5), and was wondering if somebody knew how is the browser feature called.
Bonus points for a tutorial/ar...
Is it possible in IE8 without using third party plugin like Java?
...
I have a model like this:
<List>
<Obj Number="1">
<Group Number="1">
<Detail Name="AAA"/>
</Group >
</Obj >
<Obj Number="2">
<Group Number="1">
<Detail Name="BBB"/>
</Group >
</Obj >
<Obj Number="3">
<Group Number="1">
<Detail Name="CCC"/>
</Group >
<Group Number="2">
<Detail ...
I am trying to create basically a puzzle in Flex Builder 3. I display images from an array onto a canvas that can be dragged and dropped around the canvas. My problem is that I don't want the images to be able to overlap each other. Any ideas on how to prevent this??
They can overlap as you drag but not when dropped, they need to "snap...
Hello, we have some installation project in Visual Studio solution (Other project types -> Setup and deployment -> Setup project). This project have other library type project with Installation class named InstallationCore like project output. In user action I call to Install and Uninstall functions of installer of InstallationCore.
Inst...
I am writing a simple Python script with no GUI. I want to be able to drag and drop multiple files onto my python script and have access to their absolute paths inside of the script. How do I do this in Mac, Linux, and windows? For times sake, just Mac will be fine for now.
I've googled this question and only found one related one but i...
Hello,
Im attempting to make a little app that lets you add text boxes to you canvas (window). I have an NSTextField that needs to let you drag it around the window. When you drop it it needs to stay in the spot you mouse left it. Heres my code to make the fist text field:
NSTextField *myTextField=[[NSTextField alloc] initWithFrame:NS...
After having started a Drag & Drop operation by DragDrop.DoDragDrop(...) no more MouseMove Events are fired. I even tried
AddHandler(Window.MouseMoveEvent, new MouseEventHandler(myControl_MouseMove), true);
where the last parameter means I even opt in for handled events. No chance, seems like the MouseMove Event is never fired at all...
hy, i have a php array with the name of some images!
i list all the images use this:
$files = $_SESSION['files'];
$imgid = $_POST['id'];
if ($files){
foreach($files as $image ):
print '<li id="liupimages">'."\n";
print '<a href="uploads/'.$image.'"><img id="'.$imgid.'" alt="'.$image.'" src="uploads/'....
I've seen some nice Adobe AIR demos where a component of the application is dragged outside of the application and dropped onto the desktop and then continues to run in a new window. This seems to be facilitated by the NativeDragManager class.
Is there anything similar in WPF? How would you go about implementing this sort of functionali...
Hi there,
I have some drag and drop functionality on my website, I am wanting to hightlight the area that is droppable with a chage in border color when the draggable element is clicked/starting to be dragged. If the click/or drag stops I want the border of the droppable element to change back to its origianl state, I currently have th...