Hy there,
I'm new to Qt and i tried to create a Frameless window, which is dragable. The Problem is, if i move the window.. there are are thousands of (it? sorry, don't know how to describe it in english) until i stop.
Is there a way to fix this, or am i thinking the wrong way?
MyWindow.h
#include <QMainWindow>
#include <QLabel>
#incl...
I'm a newbie and have some problems with making new divs draggable.
The example is: http://jsbin.com/iyexi3/
The problem is when I show the dialog for the name, I create some divs, but they aren't draggable.
...
Alright, so i built myself a control, and id like to make it so when somebody launchs my app, they can drag on my control just as if they were dragging on the title bar of the application. What is the best was to do this?
My experiments so far: Ive played with the mousedown,up,move events, and tried to decifer when the mouse has been mo...
HI,
I have a Mapview with some marker points + a marker for current location.
Now, what I want to do here is, when user drag or traverse through mapview, I want to find coordinate (latitude, longitude) of the new center location after map has been dragged.
I want to clarify once again, I am not talking about dragging the marker/point,...
I am using PopupManager in FB4 to display a custom dialog.
popwin = new TitleWindow();
popwin.addElement(myCustomDialog);
PopUpManager.addPopUp(popwin,this,false);
PopUpManager.centerPopUp(popwin);
It's possible to drag the popped up TitleWindow and let go of it when its gray title bar lies outside the bounds of th...
I currently have an odd case where I need to be able to reorder rows in an NSTableView, but the only column happens to be an NSButtonCell. I'm trying to see how I can override NSButtonCell's mouse tracking in order to get it to behave in a way so that the NSTableView will begin dragging the row, but am not having much luck.
Additional i...
I want to allow a user to drag my Win32 window around only inside the working area of the desktop. In other words, they shouldn't be able to have any part of the window extend outside the monitor(s) nor should the window overlap the taskbar.
I'd like to do it in a way that does cause any stuttering. Handling WM_MOVE messages and calling...
this is my code :
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width,minimum-scale...
<div id=b style="width: 50px; height: 50px;background:red;margin-left:300px;"></div>
<script src="jquery-1.4.2.js" type="text/javascript"></script>
thanks
...
when I use startDrag() and stopDrag() to drag an object why doesn't it effect the x,y coordinates of the object?
you can run this example and see for yourself
(move the circle and look at the trace messages):
<fx:Script>
<![CDATA[
import mx.events.FlexEvent;
private function mouseDown(event:MouseEvent):voi...
Hello,
I would like to allow the user to click within my UserControl and drag left/right to zoom in/out but I'd like the dragging not to be restricted to the actual control's boundaries.
What sort of event or strategy would be the right way to track the mouse position outside the control and the form until the mouse click is released ?
...
Hello, does anybody know how can I handle the events(touch, drag) in UIApplicationDelegate instead of UIView?
...
Hello,
I want to move something a set distance. However in my system there is inertia/drag/negative accelaration. I'm using a simple calculation like this for it:
v = oldV + ((targetV - oldV) * inertia)
Applying that over a number of frames makes the movement 'ramp up' or decay, eg:
v = 10 + ((0 - 10) * 0.25) = 7.5 // velocity chang...
I have a WPF textBox that is declared as ReadOnly
<TextBox IsReadOnly="True" IsTabStop="False" Width="200" />
So, User can not write anything into the TextBox or delete the content but it still allows user to drag the text from this textbox and drop it in any other textbox that caused the text removed from the first textbox(the read-o...
Is there an event in WinForms that get's fired when a window is dragged?
Or is there a better way of doing what I want: to drop the window opacity to 80% when the window is being dragged around?
Unfortunately this is stupidly tricky to search for because everyone is looking for drag and drop from the shell, or some other object.
...
Hello,
I'm trying to make a board like that you can import as many pictures as you like to that board.
How can I do that? handle multiple images?
The other question is how to recognize a drag movement and move the image to the Cursor position?
Thanks!!
(Mac SDK)
...
Hello
I would like to be able to cancel a drag operation with the Escape key.
The following did not work so far:
calling stopDrag() on the component
--> nothing happens
calling DragManager.acceptDragDrop(null) -->
nothing happens
calling mx_internal
function DragManager.endDrag() -->
drag partly stops, the drag proxy
image disappe...
My site is a single page website with a very large "canvas" size. and to navigate around the site i'm using jquery scrollTo and jquery Dragscrollable plugin.
in IE 7 & 8 the scrolling/dragging movement is very jagged. at first i thought it was my script or some other plugin that's causing this. but after i stripped down everything it's ...
I have an "add" button that's represented by a UIBarButtonItem. Hitting the "add" button adds an object into a list that represents a moment in time. By default, that time is "now"...but I'd like to be able to use dragging behavior to let the user specify earlier times for the object. Here's the behavior I want to implement:
If the use...
I'm using JQuery's draggable(); to make li elements draggable. The only problem is when the element is dragged outside its parent, it doesn't show up. That is, it doesn't leave the confines of its parent div. An example is here: http://imgur.com/N2N1L.png - it's as if the z-index for everything else has greater priority (and the element ...