Solved

C#, .Net, dot net, Dev express controls

Posted on 2010-09-10
7
560 Views
Last Modified: 2013-12-17
1. I want to move controls from one panel to another. Can I just do a drag and drop?

2. I am not able to move one of the controls downwards by dragging it. I went to the properties and saw that it's locked property is set to false (setting it to true didn't make any difference). Location is 0,0 (even though it is not in the center or any corner of the form). Maximum size and minimum size properties all show 0,0; but size is shown as 129, 36. Just above that attached to it is treeview control, and the control below is getting all its data from it.

3. If these two controls are inside a very little panel, is there a way to find it. I don't think they are inside a panel, but I'm just asking if there is a way to find it if it is tiny and present.
0
Comment
Question by:vivekj2004
  • 4
  • 2
7 Comments
 

Author Comment

by:vivekj2004
ID: 33647156
Actually, the control (let's call it button1) is in a container. Its location property is 0,0.
Location is described as: "The coordinates of upper-left corner of the control relative to the upper left corner of it's container".

So it is in a container, but I am unable to find the container using my mouse. Can anyone help me with that?
0
 
LVL 22

Expert Comment

by:p_davis
ID: 33647162
devexpress crap is weird on panels -- try docking it in designer and then you should be able to drag -- or highlight and then use the arrow keys.

you should be able to lasso after docking and select all controls in the panel -- assuming they are not outside the bounds. other than that you can select them by selecting them in the properties drop down in designer. after you select them there they are automatically selected on the form.
0
 

Author Comment

by:vivekj2004
ID: 33647268
Thanks davis, I'm gonna try this out. 2 other questions remain:
Can I drag and drop controls from one panel to another?

Why do you think I cannot move the controls down? Is it because they are inside a container, and I have to move the container?
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 22

Expert Comment

by:p_davis
ID: 33647331
no, you should be able to  drag and drop --

are your panels docked in designer? if they aren't docked there is a lot of, lets say, instability, with the way devexpress controls work in designer.
0
 
LVL 22

Expert Comment

by:p_davis
ID: 33647337
also make sure you aren't debugging at the time.
0
 
LVL 22

Accepted Solution

by:
p_davis earned 500 total points
ID: 33647343
and is it only those controls? do you have source control where you have to have the file checked out to manipulate?
0
 
LVL 13

Expert Comment

by:Naman Goel
ID: 33659830
hey yes you can drag and drop all controls from here to there. I don't know why you are using devexpress panel use windows forms panel it will be light weight and you can use that...
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question