473,473 Members | 1,894 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

StatusBar panel collection

In my custom status bar control I have a status bar panel which is added to
status bar when control is initialized

Private m_StatusBarPanel As New StatusBarPanel

Public Sub New()
Me.Panels.Add(m_StatusBarPanel)

End Sub

How can I prevent this panel from appearing in the Panels property of the
StatusBar control so that it cannot be removed from the collection?

Or is there anyway of preventing users from removing it either at design or
run time

Thanks
Jul 21 '05 #1
0 1152

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

Similar topics

4
by: Tonya | last post by:
Hi, Does anyone know how i can add controls to a progress bar. I have searched the internet but could not find any examples. what i want to add is a progress bar and a button. thx
1
by: Oleg Medyanik | last post by:
Hi, faced the following problem.. (NET 1.1) Steps to reproduce - 1.Create New Windows Forms Application 2. Add StatusBar and set ShowPanels = True 3. Add new panel and Set Autosize = Contents...
3
by: TonyM | last post by:
Hi all, I have an application with a few different Windows forms. I am trying to update a statusbar panel's text that is in the main form, from another form. When I set the statusbar and the...
10
by: Nicolas | last post by:
When I resize (Enlarge) the form while the progress bar is running the rectangle drawing is not going to the end of the rectangle? I got a form with one button, one statusbar with three...
3
by: EricJ | last post by:
Hi I'm having trouble getting icons from an imagelist in a statusbar panel. if i load the icons directly it works Dim ico As new Icon("W95MBX03.ICO") statusbarPanel..Icon = ico but if i try...
7
by: Geoff | last post by:
I would like to have a status bar which has a few panels, one of which I want to display a different .gif under different conditions. I have added the status bar to the form, I have added the...
3
by: Fred Morrison | last post by:
OK, the direct method of setting the background color on a text-only (no panels) statusbar control seems to fail: Me.StatusBar1.Text = "<whatever> failed.> Me.StatusBar1.Backcolor = Color.Yellow...
6
by: Anony | last post by:
Hi All, I have two icons: Private micoIcon1 As New System.Drawing.Icon(System.IO.Path.Combine(Application.StartupPath, "Icon1.ico")) Private micoIcon2 As New...
0
by: Job Lot | last post by:
In my custom status bar control I have a status bar panel which is added to status bar when control is initialized Private m_StatusBarPanel As New StatusBarPanel Public Sub New()...
0
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,...
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
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
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.