473,385 Members | 2,044 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.

How: Place child controls on the Panel control?

When I try to place a child control on top of a panel control, the mouse
pointer remains as a pointer instead of changing to a cross.

I tried both the ShowGrid on/off, doesn't make a difference.. Can someone
please point out the obvious... I have the 2002 version of VS.NET.

TIA
Nov 17 '05 #1
1 2452
Do you want the child control "inside" the panel, or "on top" of the
panel?

If you want it absolutely positioned on top, you can click on the
child control and use the arrow keys to move it over the panel.
Alternatively, you can edit the style attribute in HTML view (TOP and
LEFT attributes) to absolutely position the child control wherever you
want. Make sure the z-index for the child control is greater than
that of your panel.

If you want the child control INSIDE the Panel, you should just be
able to drag-and-drop it on the Panel and it should arrange itself
within automatically. Unless by "Panel" you mean "Panel-derived
custom control" which doesn't work that way (sorry, I don't remember
the specifics of working with Panel-derived controls now other than
they are a pain <grin>).

-Kevin
On Wed, 1 Oct 2003 01:26:46 -0400, "Tia Carr"
<fa**********@RemoveFakehotmail.com> wrote:
When I try to place a child control on top of a panel control, the mouse
pointer remains as a pointer instead of changing to a cross.

I tried both the ShowGrid on/off, doesn't make a difference.. Can someone
please point out the obvious... I have the 2002 version of VS.NET.

TIA


Nov 17 '05 #2

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

Similar topics

5
by: Mateo | last post by:
Let's say that I have panel control which is container control, and I need to access every child control inside panel control from JScript. I have this line of JS code: var oCollection =...
6
by: Patrick Coghlan | last post by:
I want to create about 4 forms with the same dimensions and background colours, similar to the forms one has to traverse when installing various software packages. I'm using Visual Studio and...
1
by: Tia Carr | last post by:
When I try to place a child control on top of a panel control, the mouse pointer remains as a pointer instead of changing to a cross. I tried both the ShowGrid on/off, doesn't make a difference.....
4
by: wASP | last post by:
Hi, I was under the impression that, when ASP rendered a page, it recursively traversed the hierarchy, executing all controls in each ControlCollection of every control in that hierarchy. I...
2
by: JohnR | last post by:
Let's say I have an MDI parent form with a textbox. If I create an MDI child form and, at runtime, move the MDI child window over the textbox on the MDI parent, the textbox appears in front of the...
1
by: Mian Mahboob | last post by:
Nicholas Paldino in my application a have an Windows form on that i place an Panel Control. in Form load event i ganerate an Form in Panel Control on Runtime then get an design time create...
0
by: ChrisMiddle10 | last post by:
Hey, I am developing a fairly simple custom web control. I am, however, having a major problem understanding how to have any child controls maintain state. For instance, in my particular control...
3
by: ssoffline | last post by:
hi i have an app in which i can drop objects onto a form and move them, it consists of graphics (lines), i am using double buffering to avoid filckering in the parent control which is a panel,but...
15
by: rizwanahmed24 | last post by:
Hello i have made a custom control. i have placed a panel on it. I want this panel to behave just like the normal panel. The problem i was having is that the panel on my custom control doesnt...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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?
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
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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.