473,513 Members | 2,693 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

controls in-form order

EntryTeam
55 New Member
I cannot SendToBack() a pictureBox.

I have a large pictureBox inside mainForm, and lots of buttons over it. The problem is, that big picturebox covers all the buttons, so they're not visible or accessible.

I've already tried to put inside my code SendToBack() for a bigPictureBox and BringToFront for all the others controls - this doesn't work.

Also, Control.TabIndex is set for all the controls, and bigPictureBox has the lowest value...

So, what else can I do to fix it?

P.S. the Controls are not a part of container or panel, they just as is.
Sep 8 '09 #1
2 1300
EntryTeam
55 New Member
Ok, got it working // SendToBack() must be called after all the controls created and not when bigPictureBox created.

Now there's a new problem - buttons do not respond!
Sep 8 '09 #2
EntryTeam
55 New Member
ok, I've solved the problem.
the thread can be closed.
Sep 8 '09 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

10
3137
by: Alphonse Giambrone | last post by:
I have a web form with 2 user controls on it (UC1 and UC2). Each control has a bound datagrid with textboxes in the footer to add a new row. There are also requiredfieldvalidators in each footer....
0
1607
by: Jai | last post by:
Dear All Creating Custom Controls but Not User Controls,How to create custom controls,i.e Extending the functionality of the Existing Controls.(Web Custom Controls). Previously i have...
7
1557
by: Tim | last post by:
I am trying to load both server and user controls into placeholder controls on a aspx template page at runtime. These values would be strings that are returned from a database query. I know I can...
0
971
by: Johnny Fugazzi | last post by:
Good morning, Background: I am working on a web that will display information about companies and contacts. I would like to have a details page that displays some basic details about the...
8
2038
by: Alan Silver | last post by:
Hello, ASP.NET newbie here so please be nice ;-) I'm reading ASP.NET Unleashed, following a recommendation here. I am a little confused about the difference between HTML controls and web...
5
3718
by: scorpion53061 | last post by:
I am trying to be able to share a groupbox and its related controls among all of my tab pages. This does not error but the controls do not appear either. Thank you for your help!! ...
3
1573
by: Chris Davoli | last post by:
Another front end guy that I work with wants to use old HTML controls instead of the new .NET server controls. Since he is a old HTML and classic asp person and is familiar with this, he wants to...
1
1965
by: rizwanahmed24 | last post by:
Hello i have created a custom control. i have placed two template controls on it. One is check box and second is picture box. The custom control also contain two picture boxes as property. These...
1
2018
by: Martin | last post by:
Hi all ! I use Visual Studio .NET 2005 SP1 (+ Updates for Vista) on Windows Vista. I have a strange problem in a WinForm application. In a UserControl, which inherit another UserControl...
3
982
by: mepraseetha | last post by:
hai........ i have an asp.net page.with four text box controls.I also have a link button . i want to add 4 text boxes each time i click on the link button.I write code for this but it didnt works...
0
7157
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
7379
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
7535
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...
1
7098
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...
0
7521
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5084
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3221
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
798
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
455
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...

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.