473,513 Members | 3,777 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Z-order of child-components

Hi,

I'm wondering if there is any way to control the z-order of the children of
a component.
I know about BringToFront and SendToBack, but what if I need to move one
child up just 1 position?

Thanks,
Kristof
Nov 15 '05 #1
1 1238
> I'm wondering if there is any way to control the z-order of the children
of
a component.
I know about BringToFront and SendToBack, but what if I need to move one
child up just 1 position?


form.Controls.SetChildIndex
Nov 15 '05 #2

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

Similar topics

1
6905
by: Angus B. Atkins-Trimnell | last post by:
Hello all, I am curious as to whether there is a way to use ZOrder or SetChildIndex in MS Access (VBA) to place one control at the top of the Z order for the form (or its layer within the form) at runtime. I've been scanning online documentation for an API to add to my code to access either of these functions, but the search has been...
1
6119
by: Robert W. | last post by:
I'm trying to dynamically add some controls onto a Tab page and am encountering a strange phenomenon that I'd like to get some feedback on. Here's the guts of the code that I'm using: Button newButton = new Button(); this.Controls.Add(newButton); newButton.Parent = tabPageSummary; newButton.BringToFront();
3
2715
by: Mike Hardy | last post by:
Hi, I have a page with dropdown menus in layers. In this page there is also a IFrame loading another page with some combobox in it. My problem is this, when I hover on my menu to show the dropdown the combobox is on top of the layer. Is there a way to have the layer on top of the combobox? I have provided a link to a picture so you can...
2
1224
by: Hefty | last post by:
Hi folks, I've created a custom control which consists of a textbox,calendar control and button. User clicks button and chooses date from calendar which in turn populates the textbox. Nothing to taxing there! However, the problem I have is the calendar ctl is always rendered behind existing controls on a form. Which is pretty pointless...
1
3719
by: Franck | last post by:
Is it possible to prevent the change of the zorder of several forms ? I would like to choose a zorder of severals forms and lock this zorder, even if I click on these forms.
4
2851
by: Jeff Beem | last post by:
I have a class that inherits from TreeView. The treeview has tooltips for the nodes but they're showing up behind the form. Has anyone seen this? Are there any known fixes? Thanks in advance, Jeff Beem
1
1905
by: David Whitchurch-Bennett | last post by:
Hi there, I am writing an custom designer, and need a rubber band to select controls. I am drawing the rubber band by using the Graphics object on the user control where the other controls sit (hope that makes sense). The rectangle object that I draw on the user control appears behind the other child controls. Is there a way to force the...
12
9114
by: Adil Akram | last post by:
I'm using VS 2005, .net 2.0 for a desktop application (Window Form app). I can't set ZOrder of Panel control neither at design time by toolbar/menu command "Bring to Front"/"Sent to Back" nor at run time by calling BringToFront method of panel. And Panel control doesn't support SetTopLevel method etc. I tried this while Dock=Fill and...
4
8398
by: akynaya | last post by:
i have a problem regarding resizing of images that is to be displayed using the picture box. i also have a problem about the dragging and dropping method because the images tend to drag to a different location. this is my drag n drop code: Private Sub Picture28_DragDrop(Source As Control, X As Single, Y As Single) If X > X1 Then...
1
1365
by: siri11 | last post by:
Hi... I want my listbox to be on top of a panel but not in the panel.Is there any Zorder property for listbox or any other control (In c#.net-Windows Application).If so how i can use it? plzz suggest... Thanks in advance siri
0
7270
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7397
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7563
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7125
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
4757
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3252
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3239
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
813
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
470
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.