Solved

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

Posted on 2010-09-10
7
548 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
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

760 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now