473,385 Members | 2,029 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Application freeze during Drag Drop Operation.

I have an application in which I have 2 forms.
1.Review Form 2. FilmForm.

Review Form is used for Loading some images and we can transfer the
Images from Review From to FilmForm by Drag-Drop operation by left
Click of Mouse.

FilmForm is comprised of UserControl placed over a Panel in a
GridFormat.

UserControl can have ChildControl too placed over it which are known
as Insetcontrol.

Under current operation my application is freezing:

Pre Condition: Current Grid LayOut of FilmForm is 2x2 it mean there
are 4 user Controls placed over FilmForm.

Now I transfer 6 Images from ReviewForm to FilmForm and Drop it on
UserControl of 1st Row and second Column(means Leaving first
UserControl Blank).
1st Image is Displayed on the UserControl of 1st Row and 2nd Column
and 2 Child Controls are displayed as Inset.
2nd Image is Displayed on the UserControl of 2nd Row and 1st
Column and 2 Child Controls are displayed as Inset.
3rd Image is Displayed on the UserControl of 2nd Row and 2nd Column
and 2 Child Controls are displayed as Inset.

After this the application moves to Second Sheet in FilmForm which
means the Same UserControls are Reused by Removing all the Existing
Images and ChildControls.

Then in Sheet 2:

Image of First UserControl on 1st Row and 1st Column is Removed and
Then child Control is Removed (But as it was blank in Sheet 1 so there
is nothing to Remove)
4th image is Displayed on that Control.

Now in 2nd UserControl of 1st Row and 2nd Column gets operated .
This is the same control in which Drop operation was performed in
Sheet 1.

In case of This Control when I try to execute
UserControl.Controls.Clear(for removal of
Existing child control my application gets hanged and never come out
of this statement.

This problem occur only in case of the Control in which Drop operation
was performed.

I need urgent help for same.

Regards
Arvind

Sep 26 '07 #1
0 1371

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Marco Auday | last post by:
I need to associate items in two listviews. I have got the drag-and-drop operation to perform as I wanted. However, I would like the items in the target listview to be highlighted when the mouse...
6
by: hemant_mishal | last post by:
Hi All, I am writting a java script library which will provide inter frame drag and drop operation. The more precise will be OLE drag and drop, which means only data will be transfered from frame...
1
by: emferrari | last post by:
Hi everybody I have two treeviews, one of them is only to receive items dragged from the treeview1. I want to know how to drag a full node information to the treeview2. I know how to do that...
1
by: Robin Tucker | last post by:
Apologies for the ambiguous title, you will be expecting me to be asking how to perform drag and drop from my application into another application. Well, kind-of. I've got drag and drop sorted,...
2
by: Samuel R. Neff | last post by:
I have a typical TreeView/ListView combo and can drag from the ListView to the TreeView. I'd like to select the TreeView node that is the target of the drag operation as the ListView items are...
3
by: VB Programmer | last post by:
In VB.NET 2005 (winform) any sample code to drag & drop items between 2 listboxes? Thanks!
8
by: benkial | last post by:
I am writing a small GUI tool in C#, and I want to experiment some fancy trick as follows: when the user click on a "OK" button, the code will initiate a "Drag and Drop" operation in the GUI itself...
0
by: Pesso | last post by:
I'm loading a text file to a RichTextBox control to drag a selection of a text and drop it into a tree view control. It works except after the drag and drop operation the RichTextBox scrolls to the...
2
by: =?Utf-8?B?QWxleGFuZGVyIEtvbW1lcg==?= | last post by:
Hi, I´m developing a feature in a application with the following specification: In the first step, the application should be able to store messages out of outlook, which are dropped on a tree...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.