On the features of Drag and Drop

Hi I work on ADFMobile I implemented an Application using HTML and JavaScript and CSS. And I provide the functionality of Drag and Drop in HTML5, but the functionality of Drag and Drop didn't work.

So could you please help me how to implement the drag and drop operation going works in ADFMobile

<! DOCTYPE html >

< html >

< head >

<!-< script type = "text/javascript" src = "jquery.js" > < / script >

< script type = "text/javascript" src = "main.js" > < / script >->

< link rel = "stylesheet" type = "text/css" href = "style.css" >

< title > < / title >

< / head >

< body >

< div id = 'wrapper' >

< div class = "header-wrapper" >

< div class = "wrapper-in-head-left" > Accept < / div >

< div class = 'wrapper-in-head-right' > reject < / div >

< / div >

< div class = "container" >

< div class = "info-container" >

< div class = "info-header" > example 1 < / div >

< div class = "info-tip" >

Hello World < p > < /p >

< / div >

< div class = "info-tip" >

Hello World < p > < /p >

< / div >

< div class = "info-tip" >

Hello World < p > < /p >

< / div >

< div class = "info-tip" >

Hello World < p > < /p >

< / div >

< / div > <! - first contianer ends here - >

< div class = "info-container" >

< div class = "info-header" > example2 < / div >

< div class = "info-tip" >

Hello World < p > < /p >

< / div >

< div class = "info-tip" >

Hello World < p > < /p >

< / div >

< div class = "info-tip" >

Hello World < p > < /p >

< / div >

< div class = "info-tip" >

Hello World < p > < /p >

< / div >

< / div > <! - first contianer ends here - >

< div class = "info-container" >

< div class = "info-header" > 3 < / div >

< div class = "info-tip" >

Hello World < p > < /p >

< / div >

< div class = "info-tip" >

Hello World < p > < /p >

< / div >

< div class = "info-tip" >

Hello World < p > < /p >

< / div >

< div class = "info-tip" >

Hello World < p > < /p >

< / div >

< / div > <! - first contianer ends here - >

< / div >

< div class = 'wrapper-footer' >

< div class = 'wrapper-foot of page-left' > learn... < / div >

< div class = 'wrapper-foot of page-right' > Later < / div >

< / div >

< / div >

< / body >

< / html >

#{pageFlowScope.JavaScript.InvokeAlerts}

Sorry, Frank Nimphius I designed a mobile page with HTML5 JavaScript and CSS in Jdeveloper and I try to implement the functionality of gliding & in this application, but it will not work on the Android browser

Could you please help me how to implement drag and drop features in the given page

HTML:

Accept

Reject

example1

Hello world

Hello world

Hello world

Hello world

Example2

Hello world

Hello world

Hello world

Hello world

3

Hello world

Hello world

Hello world

Hello world

JavaScript:

$(document) .ready (function () {}

$('.info-tip').mousedown (function (e) {}

e.preventDefault ();

Console.log (e.ClientX);

Console.log (e.ClientY);

$('.info-tip').mousemove (function (e) {}

{if (e.which = 1)}

$(this).removeClass('info-tip').addClass ("clone-item");

}

});

(.mouseup)})

function() {}

$('.info-tip').off ("mousemove");

});

});

CSS:

HTML, body {}

Width: 100%;

height: 100%;

padding: 0px;

margin: 0px;

background: #ccc;

}

{#wrapper}

Width: 80%;

height: 80%;

margin: auto;

}

. Container {}

Width: 100%;

height: auto;

margin: 0px 0px 30px 0px;

}

{.wrapper-head

margin: 0;

background: #4c4c4c; / * Older browsers * /.

background:-moz-linear-gradient(top, #4c4c4c 0%, #595959 12%, #666666 25%, #474747 39%, #2c2c2c 50%, #111111 60%, #2b2b2b 76%, #1c1c1c 91%, #000000 100%, #131313 100%); / * FF3.6 + * /.

background:-webkit-gradient (linear, left top, left bottom, color-stop(0%,#4c4c4c) color-stop(12%,#595959) color-stop(25%,#666666), color-stop(39%,#474747), color-stop(50%,#2c2c2c), color-stop(60%,#111111), color-stop(76%,#2b2b2b), color-stop(91%,#1c1c1c), color-stop(100%,#000000), color-stop(100%,#131313))... / * Safari4, Chrome + * /.

background:-webkit-linear-gradient(top, #4c4c4c 0%,#595959 12%,#666666 25%,#474747 39%,#2c2c2c 50%,#111111 60%,#2b2b2b 76%,#1c1c1c 91%,#000000 100%,#131313 100%); / * Chrome10 +, Safari5.1 + * /.

background:-o-linear-gradient(top, #4c4c4c 0%,#595959 12%,#666666 25%,#474747 39%,#2c2c2c 50%,#111111 60%,#2b2b2b 76%,#1c1c1c 91%,#000000 100%,#131313 100%); / * Opera 11.10 + * /.

background:-ms-linear-gradient(top, #4c4c4c 0%,#595959 12%,#666666 25%,#474747 39%,#2c2c2c 50%,#111111 60%,#2b2b2b 76%,#1c1c1c 91%,#000000 100%,#131313 100%); / * IE10 + * /.

background: linear-gradient(to bottom, #4c4c4c 0%,#595959 12%,#666666 25%,#474747 39%,#2c2c2c 50%,#111111 60%,#2b2b2b 76%,#1c1c1c 91%,#000000 100%,#131313 100%); / * W3C * /.

filter: progid:DXImageTransform.Microsoft.gradient (startColorstr = ' #4c4c4c ', endColorstr = "#131313 ', GradientType = 0"); / * IE6-9 * /.

position: fixed;

top: 0;

Width: 80%;

padding: 10px 0px;

z-index: 100;

}

{.wrapper-footer

margin: 0;

padding: 10px 0px;

background: #4c4c4c; / * Older browsers * /.

background:-moz-linear-gradient(top, #4c4c4c 0%, #595959 12%, #666666 25%, #474747 39%, #2c2c2c 50%, #111111 60%, #2b2b2b 76%, #1c1c1c 91%, #000000 100%, #131313 100%); / * FF3.6 + * /.

background:-webkit-gradient (linear, left top, left bottom, color-stop(0%,#4c4c4c) color-stop(12%,#595959) color-stop(25%,#666666), color-stop(39%,#474747), color-stop(50%,#2c2c2c), color-stop(60%,#111111), color-stop(76%,#2b2b2b), color-stop(91%,#1c1c1c), color-stop(100%,#000000), color-stop(100%,#131313))... / * Safari4, Chrome + * /.

background:-webkit-linear-gradient(top, #4c4c4c 0%,#595959 12%,#666666 25%,#474747 39%,#2c2c2c 50%,#111111 60%,#2b2b2b 76%,#1c1c1c 91%,#000000 100%,#131313 100%); / * Chrome10 +, Safari5.1 + * /.

background:-o-linear-gradient(top, #4c4c4c 0%,#595959 12%,#666666 25%,#474747 39%,#2c2c2c 50%,#111111 60%,#2b2b2b 76%,#1c1c1c 91%,#000000 100%,#131313 100%); / * Opera 11.10 + * /.

background:-ms-linear-gradient(top, #4c4c4c 0%,#595959 12%,#666666 25%,#474747 39%,#2c2c2c 50%,#111111 60%,#2b2b2b 76%,#1c1c1c 91%,#000000 100%,#131313 100%); / * IE10 + * /.

background: linear-gradient(to bottom, #4c4c4c 0%,#595959 12%,#666666 25%,#474747 39%,#2c2c2c 50%,#111111 60%,#2b2b2b 76%,#1c1c1c 91%,#000000 100%,#131313 100%); / * W3C * /.

filter: progid:DXImageTransform.Microsoft.gradient (startColorstr = ' #4c4c4c ', endColorstr = "#131313 ', GradientType = 0"); / * IE6-9 * /.

position: fixed;

bottom: 0;

Width: 80%;

z-index: 100;

}

{} .info-container

Width: 100%;

height: auto;

float: left;

top of the margin: 20px;

position: relative;

}

.wrapper .wrapper-in-head-left header {}

float: left;

color: #fff;

text-indent: 10px;

}

.wrapper .wrapper-in-head-right header {}

float: right;

color: #fff;

text-indent: 10px;

}

. Wrapper-foot left-foot of page-.wrapper {}

float: left;

color: #fff;

text-indent: 10px;

}

foot of page-.wrapper .wrapper-foot of page-right {}

float: right;

color: #fff;

}

{} .info-head

text-indent: 10px;

color: #fff;

make-weight: bold;

padding: 2px 0px;

margin-bottom: 8px;

background: #1e5799; / * Older browsers * /.

background:-moz-linear-gradient(top, #1e5799 0%, #2989d8 50%, #207cca 90%, #7db9e8 100%); / * FF3.6 + * /.

background:-webkit-gradient (linear, left top, left bottom, color-stop(0%,#1e5799) color-stop(50%,#2989d8), color-stop(90%,#207cca) color-stop(100%,#7db9e8)); / * Chrome, Safari4 + * /.

background:-webkit-linear-gradient(top, #1e5799 0%,#2989d8 50%,#207cca 90%,#7db9e8 100%); / * Chrome10 +, Safari5.1 + * /.

background:-o-linear-gradient(top, #1e5799 0%,#2989d8 50%,#207cca 90%,#7db9e8 100%); / * Opera 11.10 + * /.

background:-ms-linear-gradient(top, #1e5799 0%,#2989d8 50%,#207cca 90%,#7db9e8 100%); / * IE10 + * /.

background: linear-gradient(to bottom, #1e5799 0%,#2989d8 50%,#207cca 90%,#7db9e8 100%); / * W3C * /.

filter: progid:DXImageTransform.Microsoft.gradient (startColorstr = ' #1e5799 ', endColorstr = ' #7db9e8 ', GradientType = 0); / * IE6-9 * /.

}

{} .info-tip

Width: 24%;

height: 150px;

float: left;

margin-left: 10px;

Background: #fff;

-webkit-border-radius: 10px;

}

.info-pointe p {}

text-align: center;

margin: 60px banner 0px 0px 0px;

}

. Clone-item {}

background: Red;

Width: 200px;

height: 150px;

float: left;

margin-left: 10px;

background: Red;

-webkit-border-radius: 10px;

position: absolute;

}

Using this code, I generate a page on this page I want to drag drag the HellowWorld to accept button so how to implement this feature - déposer in ADFmobile

Tags: Java

Similar Questions

  • FlashBuilder - how to move the code with drag and drop

    Guys, I must be stupid. Each IDE I worked in allows me to highlight one or more lines of code, and then, when I mouse over the highlighted lines, updates of the cursor to indicate that I can now drag the code, and it moves when I click and drag.

    FlashBuilder (burrito) does not seem to exhibit this feature, but if I hold down the CTRL I do not copy the code via drag and drop.

    There has been one or two occasions where the drag-and - déposer worked, but I can't understand, or reproduce these conditions.

    Can anyone help?

    Thank you

    T

    It should work in Flash Builder, but you are right, that feedback cursor is not very good because it is not updated to show that any sort of slider. Try selecting the text, then click and hold for about a second before you drag it to a new location. If it still does not work for you it must be another problem. Make sure that in preferences, general-> editors-> text editors "Enable drag and drop of text" is turned on.

  • I lost the ability to drag-and - drop files from the finder to dreamweaver

    I've recently updated to OSX Maverick and I lost the ability to drag and drop files into dreamweaver.

    Is there a setting that I know that restores this functionality?

    Thank you

    Hello joyridebs & Mike,

    This seems to be due to changes in the Mavericks. A bug was noted for the workflow broken in Dreamweaver.

    Please follow the workaround by inserting objects from the panel insert until the bug is fixed.

    Kind regards

    Yalpi Shiva Prasad

  • Questions about the reorganization of the rows in the table by drag-and - drop feature

    I am referring to the demo: 106. Drag-and-drop the reorganization of the rows of the table in aCorner of Code DF to implement my case.

    I am facing some problems:

    1. the view object (bound to the table) is read only and it is created directly by very complex SQL queries, without entity objects. When it is run the code: dragRow.removeAndRetain () in the method: DnDAction processDrop (DropEvent dropEvent), it throws the error so that a guest view object is read-only. I want to know if there is another way to delete the moved collection line?

     public DnDAction processDrop(DropEvent dropEvent) {
    ...       
           CollectionModel collectionModel = (CollectionModel) table.getValue();        
            JUCtrlHierBinding treeBinding = (JUCtrlHierBinding) collectionModel.getWrappedData();
            
            //get access to the ADF iterator binding used by the table and the underlying RowSetIterator.
            //The RowSetIterator allows us to remove and re-instert the dragged row
            DCIteratorBinding departmentsIterator = treeBinding.getDCIteratorBinding();               
            RowSetIterator rsi = departmentsIterator.getRowSetIterator(); 
    
            int indexOfDropRow= rsi.getRangeIndexOf(dropRow);
           //get access to the oracle.jbo.Row instance represneting this table row
           Row dragRow = (ViewRowImpl)table.getRowData(draggedRowKey);
           //remove dragged row from collection so it can be added back
           dragRow.removeAndRetain();
           rsi.insertRowAtRangeIndex(indexOfDropRow, dragRow);
          ...
    }
    

    2. When you click on a button, I need to save the command results in the database using the command update # of each rank. Here it is the handler method for the event of the action (in MB) button.

    I want to use RowSetIterator table for encode it from all ranks and update the value # order of each rank.   I call a data control method to run sql update. is it ok? any suggestion?

        public void processSaveOrder(ActionEvent actionEvent) {
            CollectionModel collectionModel = (CollectionModel) mytable.getValue();        
            JUCtrlHierBinding treeBinding = (JUCtrlHierBinding) collectionModel.getWrappedData();
            
            //get access to the ADF iterator binding used by the table and the underlying RowSetIterator.
            //The RowSetIterator allows us to remove and re-instert the dragged row
            DCIteratorBinding iterator = treeBinding.getDCIteratorBinding();               
            RowSetIterator rsi = iterator.getRowSetIterator();
            Row row =rsi.first();
            System.out.println(0+"="+ row);
            int i = 1;
            while(rsi.hasNext()){
                row = rsi.next();
                System.out.println(i+"="+ row.getKey());
                i++;
            }
    
        }
    

    A workaround solution was found:

    In ADF 12 c, it can be solved by changing Updatable "Always" in the details tab of each attributes to read-only view object without entity object.

  • The show with drag and drop in Captivate 9

    Hello

    I am creating a drag and drop interactivity 9 Captivate. In step 3, when I had to drag the objects from the source to the drop target, all objects in the screen were locked. I couldn't click as well as she was listed on the timeline . Please suggest.

    Using the wizard or the D & D Panel? Is this normal or a receptive

    of the project? You are on Mac or Win.

    For the wizard: .you should see a center point on each source of drag.

    You must drag a line from this central point to the drop target. You did

    create a type?

  • How to rotate the movieclip with drag and drop?

    Hello everyone,

    I work with drag and drop game.

    I'm done with drag and drop. now, I have problem in totating the movieclip.

    I want video clip rotate using the mouse. Do not use the click mouse. !!!

    Can someone give me a solution for this?

    var isDrageen:Boolean;

    var lastX:Number;

    var derriГЁre: Number;

    var dragX:Number;

    var dragY:Number;

    stage.addEventListener (MouseEvent.MOUSE_DOWN, down);

    stage.addEventListener (MouseEvent.MOUSE_UP, up);

    stage.addEventListener (MouseEvent.MOUSE_MOVE, mov);

    function down(e:MouseEvent):void {}

    isDrageen = true;

    lastX = mouseX;

    derriГЁre = mouseY;

    }

    function up(e:MouseEvent):void {}

    isDrageen = false

    }

    function mov(e:MouseEvent):void {}

    {if (isDrageen)}

    dragX = mouseX-lastX;

    dragY = mouseY-derriГЁre;

    MC.rotationY += dragX/1.65;

    MC.rotationX += dragY/1.65;

    lastX = mouseX;

    derriГЁre = mouseY;

    }

    }

  • Display collection ArrayCollection in a list and the ArrayCollection with Drag and Drop collection reorgnize

    I have an ArrayCollection collection created like this

    qaAC = new ArrayCollection();

    for (var i: int = 0; i < 10; ++ i) {}
    var o: Object = {question: ' what is "+ i +"? ", answer:" it's "+ i"};
    qaAC.addItem (o);
    }

    The ArrayCollection collection is an array of object that has properties "question" and "answer to" custimized.

    I want to put 'issues' in the ArrayCollection collection in a list. 'qaAC.question' does not return an array of questions for me.

    I have to extract the ArrayCollection collection to form a new String table, and use the new array as the dataProvider of the list of questions.

    Is there a way better and clean?

    My goal is to use a list to reorgnize an ArrayCollection collection that contains complex objects (not simple string) with Drag & Drop. Is this possible?

    Any suggestions?

    I put two lists in my example to show how the ArrayCollection collection could be displayed in two different ways. You don't have to have two lists if you do not need them.

    When you change the order of the list made with drag and drop, you change the order of the collection ArrayCollection qaAC, so all the controls that display the qaAC will also be updated to reflect the new order. You can test this in the example I posted earlier. Change the order in the list of question and you will see the order change also in the list of responses. This is because they are both bound to the same collection of ArrayCollection. If you want to behave independently, you need two separate ArrayCollections.

    Chris

  • Windows7 - in the My Pictures folder-need to sort the photos manually - drag and drop used to be how does not work now.

    ....

    Thank you for visiting the Microsoft answers community.

    The change in Windows 7 is to design, but if you think this is something that you want changed, please submit your suggestion on the Microsoft Connect site for your comments.

    Lisa
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How to manage the order of appearance in the target, while drag and drop objects are selected anyway?

    Hello! Hello!

    Oops, I hope you understand my English?

    That's why I tried to show what I have on this photo!

    Secondly, I have to check a list, but we will see that later!

    Captivate Forum.png

    Thank you very much for dedicated to my question:

    Thank you very much

    Nicoolfly

    You need to apply normal effects of the actions, I don't think there are available in the D & D interactive configuration. Captivate scale effects, glow, glow twice, blinking eyes and many others but Configurator of the of must.

  • Can cancel you &amp; quot; acceptDragDrop() &amp; quot; using manual Drag-and-Drop?

    I have an AdvancedDataGrid (ADG) with the feature manually drag-and-drop in. The user can only and drag within one ADG. I do this in order to validate the elements that can be moved, and where they can be recessed. I ran into a problem, however. In my dragEnterHandler() replacement, I call DragManaged.acceptDragDrop () if the user drags an item on a valid element. However, be they don't drop off the item and continue to drag the element around the ADG and roll on an item that is not valid, there is no way to undo the drop.

    Does anyone have any suggestions?

    I thought about it... I use the itemRenderer to the dropIndex like the acceptDragDrop() target and add a dragDrop event handler/listener to the itemRenderer.

    Works like a charm now.

  • Why can I I is no longer drag and drop photos directly from photos of apple in the Pages?

    Until very recently, you can take a photo from iphoto/photos and then quickly drag and drop directly into the Pages. Now, I have to drag and drop the photo on the desktop, then drag and drop again from office to the Pages. Is this just a way more Apple is dumbing things down and make things slower for those who already know how to use their software or some setting I'm not aware of?

    In the Pages v5.6.2, you can click, drag and drop an image from the Photos app in the page document related, just as you can from the media tool in the toolbar of the Pages v5.6.2.

    To get an image from Photos in a Pages ' 09 v4.3 document, you must click on the image you want in Photos and menu editing: copy, right click in the document to Pages ' 09 followed to select Paste from the context menu. There is no drag and drop Photos in Pages ' 09 v4.3. There is no access to the photo library within the Pages ' 09 v4.3 support tool.

    Tested: OS X 10.11.5.

  • Drag and drop files to the icon of the EXE

    I was wondering if there is a way for the user to drag and drop files on the .exe icon and it would launch the program to do something with these files automatically?

    For example: Some PDF convertor programs allow you to drag and drop documents, images, etc. directly on your desktop PDF Converter icon and it will automatically convert to PDF format, without the user even having to open the program.

    This same kind of functionality is possible with a file EXE of Labview?

    If you look at the Arguments of the command line of the Application class property, the first element must match the name of the EXE, the following elements will be the path or paths that were dropped on the icon of the EXE.

  • Drag and drop the element of the array of Clusters

    I have a project that includes an array of 'tests', each of which is a cluster that contains an array of 'numbers', a matching the regular expression string and an array of "tasks" (all of them, is in turn, a group of elements).

    It is:

    • Tests (table of):
      • Cluster:
        • Reference numbers (an array of strings)
        • Regex (string)
        • Tasks (table of):
          • Cluster:
            • Task type
            • Basic channel,
            • Measuring channel
            • Other channels

    I wish I could drag and drop to rearrange the task table in an individual event.  (It is a nice-to-have rather than a urgent request - more for my own learning that no matter what).  For now, I've implemented "Move up" and "Move down" buttons

    Examples are fine for a single cluster that includes a table or an array of objects.  As soon as we have an array of clusters, it is difficult to access individual items within a specific cluster.

    Who that it be completed can drag and drop into such a facility?

    Curiously,.

    Geoff

    Hello GeoffF,

    It's certainly doable and you can even use the standard start drag and drop methods/events, the trickiest part is to determine the table of the elements that are selected on the mouse towards the top/mouse downwards and the swap of manual handling.  Fortunately, there are a few decent examples of how do this out there already, I suggest you take a look at this one:

    Example of community: determine the Index of the clicked element Array in LabVIEW

    https://decibel.NI.com/content/docs/doc-22434

    That should give you the selected table indexes, and then all you have to do is to move the elements around around the drop event.  I have attached a very basic demonstrative example that uses this code I just linked (you need to download that as well) and the events referred to swap two elements of the array.   The attached code is just thrown together, you'll want to design something more robust and scalable to any sort of actual use.

    Kind regards

  • Windows XP SP3: Unable to start, System Restore cannot drag and drop ALL the files/folders on the desktop and applications, many unable to start, services cannot search, cannot copy or transfer the any files folders...

    After a recent power outage, my system has restarted with a weird and very common Windows problems range. The system boots fine, all my personal files/folders/apps are intact, have suddenly stopped almost all functions of applications, but many crucial functions of the Windows kernel. Everything seems to point to several Windows Services are unable to start (administrative tools on the start menu). I am running Win XP SP3 and that he was going to upgrade to Windows 7, but I wanted to backup everything in advance. As I have 29 000 hours on my C: drive and a lot of time invested in my system, files, and applications, I am extremely reluctant to risk losing my files and applications by performing any type of reinstalling Windows. Strangely, begin to almost all my apps and all my files are accessible for the most part, but I've lost the ability to drag and drop files, folders or items in a list within the applications COMPLETELY. I can't copy or paste anything, can't move the desktop icons (although I can create new files and folders). So at the moment I can't save anything or even a single file transfer to a hard drive on another storage medium. Immediate reaction: try safe mode and try the system restore safe mode has the same problems (likely due to the large number of system services that inexplicably refuses to start) and the system restore says an error window saying "system restore is not able to protect your computer at this time. try restoring the system running and restart again", which of course NEVER changes. It's the equivalent of getting a tire on your car in the middle of nowhere to find the spare tire flat and the missing Jack. I have used to be fanatical about the definition of the regular restore points, but now can not access them. I have backups of most of my personal files, but over years have lost most of the original installation CD for many of my applications (there are over 100 applications on my system) and I don't want to lose the file associations and architecture of directory tree that it took my so long to implement. I started with Win XP media center edition of first (circa 2004 or almost) and have migrated twice more of 3 hard disks and 2 computers. All this time (5 years of daily use), I have NEVER known so many malfunctions for as many Windows basic and vital functions at the same time. I tried a lot of 3rd party "windows fix - it / registry repair" apps, all have no effect. Everything I can speculate is there was some serious damage to the registry and have no idea how/why so many Services refuse to start. In MMC, more than half of the services actually start and run, the rest all give the error message "the service or dependencies is not start (error 1068).» In addition, very oddly, no. APPS or windows appear in the toolbar AT ALL, but the Quick Launch toolbar works very well, just like the tray button and start tasks (?! )!). If I reduce a window, it "disappears" (Nothing on the task bar), but I can restore it using the alt - tab keyboard shortcut to switch apps, so all applications/windows appear on the list of the Task Manager. A few apps is paralyzed bad, as the player windows media, itunes, etc. (I guess because the service windows audio can not not start), some won't start at all, but 90% of them work fine, except to try to copy or back up all files. I can create new files, however. I'm desperate to find a solution to repair XP3 Win WITHOUT losing my installed applications and files, before I try and switch to WIndows 7. Any help/suggestions/links/advice would be much appreciated. I'm an experienced user, but I've never met so many malfunctions based on the OS at a time. I, however, very painfully learned (years before that my system so complex) it's been almost a re-installation of Windows guarantees to lose my installed apps and files, the directory tree architecture associations.

    Help, please!

    I'll be honest with you - your message is so difficult to read that I don't bother to go through all that. Next time consider using white space, ball or points numbered, etc. to make your message more readable. I stopped reading after your first sentence and only scanned the rest quickly. I do not mean to hurt your feelings; just trying to help you get targeted answers you need for the future.

    The blackout has corrupted your Windows installation. Back up your data now. Since you have problems so much, it would be probably best is to remove the hard drive, put it in a USB drive enclosure and attach it to another computer to copy the data OR start the target with Linux Livecd such as Knoppix system and copy the data to an external hard drive. IOW, do not use the damaged windows to try to get your data.

    You can try a repair that will leave your programs and facility data intact, but with this widespread bribery, it is unlikely to work. However, it takes only a few minutes and is so worth a try. If the repair facility does not work there is nothing to do, but a clean install. And Yes, it will mean that over again.

    Consider buying a UPS to help prevent future damage by power outages. For a single computer, you should look for one in the area of $60 to 80. A more expensive UPS is not necessary. Another good disaster recovery strategy is to buy an external hard drive and Acronis True Image. You can image your system (and can make an incremental backup image so that your image is still current). You can apply your image and be back running that you were in relatively few minutes after a hard drive or Windows to fail.

    http://www.michaelstevenstech.com/XPrepairinstall.htm - repair install how-to
    http://michaelstevenstech.com/cleanxpinstall.html - Clean install - how-to
    http://www.elephantboycomputers.com/page2.html#Reinstalling_Windows - you will need at hand MS - MVP - Elephant Boy computers - Don ' t Panic!

  • Drag and drop outside the canvas does not

    Hello

    I changed the code below to drag and drop a canvas inside another canvas. Why can I not move the Red Canvas outside in blue? The mouse pointer must be inside the Red canvas in order to move the red. Incredible.

    Can you help me?

    Chris

    <? XML version = "1.0" encoding = "utf-8"? >
    " < = xmlns:mx mx:Application ' http://www.Adobe.com/2006/MXML "layout ="absolute"width ="780" "
    creationComplete = "creationCompleteHandler ()" >

    < mx:Canvas id = "invisible_holder" width = "100%" height = "100%" backgroundColor = "#ff0000" backgroundAlpha = "0" / >
    < mx:Canvas id = "BlueCanvas" x = "97" y = "263" width = "300" height = "300" backgroundColor = "blue" backgroundAlpha = "0.1" >

    < mx:Canvas id = "RedCanvas" x = "26" y = "38" width = "200" height = "200" mouseDown = "childMouseDown (event)" "
    backgroundColor = "red" >
    < mx:Label id = "dd" text 'labe lll' = >

    < / mx:Label >
    < / mx:Canvas >

    < / mx:Canvas >

    < mx:Script >
    <! [CDATA]
    Import mx.core.DragSource;
    Import mx.core.UIComponent;
    Import mx.events.DragEvent;

    Import mx.managers.DragManager;

    Variables used in lieu of the image
    public var xOff:Number;
    public var yOff:Number;
    public var xThisBefore:Number;
    public var yThisBefore:Number;
    public var xThisAfter:Number;
    public var yThisAfter:Number;
    Create event to drag listeners.
    private function creationCompleteHandler (): void
    {
    RedCanvas.addEventListener (DragEvent.DRAG_DROP, dropEnter);
    RedCanvas.addEventListener (DragEvent.DRAG_ENTER, applicationDragEnter);
    }

    private void dropEnter(event:DragEvent):void {}
    RedCanvas.x = this.mouseX - xOff;
    RedCanvas.y = this.mouseY - yOff.
    xThisAfter = this.mouseX;
    yThisAfter = this.mouseY;
    RedCanvas.x = xOff + (xThisAfter - xThisBefore);
    YOff = RedCanvas.y + (yThisAfter - yThisBefore);

    this.addChildAt(RedCanvas,1)
    changeZIndex (1);
    RedCanvas.addEventListener (DragEvent.DRAG_DROP, dropEnter);
    RedCanvas.addEventListener (DragEvent.DRAG_ENTER, applicationDragEnter);
    }

    private void changeZIndex (direction: int): void {}
    var newIndex:int = BlueCanvas.getChildIndex (RedCanvas) + direction;

    If (newIndex > = 0 & & newIndex < BlueCanvas.numChildren) {}
    BlueCanvas.setChildIndex (RedCanvas, newIndex);
    }
    }

    The application accepts drag-and - drop.
    (except when the user is dragging the Red painting on canvas blue)
    private void applicationDragEnter(event:DragEvent):void
    {
    If (event.dragSource.hasFormat ('data'))
    {
    DragManager.acceptDragDrop (event.currentTarget as UIComponent);
    }
    }

    Start the operation drag - move
    private void childMouseDown(event:MouseEvent):void
    {
    xThisBefore = this.mouseX;
    yThisBefore = this.mouseY;

    xOff = RedCanvas.x;
    yOff = RedCanvas.y;

    var data: String = "data";
    Source: DragSource var = new DragSource();
    source.addData (data, 'data');
    DragManager.doDrag (event.currentTarget UIComponent, source, event);
    }
    []] >
    < / mx:Script >
    < / mx:Application >

    I got it work in reviewing this function:

    private function creationCompleteHandler (): void {}
    BlueCanvas.addEventListener (DragEvent.DRAG_DROP, dropEnter);
    BlueCanvas.addEventListener (DragEvent.DRAG_ENTER, applicationDragEnter);
    }

    Thius is logical, because you want dropEnter and dragEnter on blue canvas.

    If this post has answered your question or helped, please mark it as such.

Maybe you are looking for