473,394 Members | 1,641 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,394 software developers and data experts.

Changing properties..so simple...so weird

Hey everyone..I have no idea why this is happening..its so weird. I am
trying to change the backcolor of a panel when a textbox changes value. The
code is as follows:

Private Sub Status_TextChanged(ByVal eventSender As System.Object, ByVal
eventargs As System.EventArgs) Handles Status.TextChanged
If Me.IsInitializing = True Then
Exit Sub
Else
'update status box
Me.Panel1.BackColor = Color.Gold

End If

End Sub

Crazy straightforward right? I can change the panel's color when adding the
line
Me.Panel1.BackColor = Color.Gold
to mybase.load...but not after the fact. For that matter..I am switching
images to be visible/not visible in the sub Status_TextChanged (which i
omitted here for brevity)...and they are not switching either. The values
are being assigned to the properties when I step through and float my mouse
over them...but the form is not changing. Whats causing this? In every
other sub...my form changes...many thanks!!!
Mar 27 '06 #1
0 1142

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

Similar topics

5
by: Francois Trottier | last post by:
i know its a newbie question, but how can u change the properties of an object ( for exemple the caption of a button) i know in vb you could just write object.properties="" but how can we do that...
3
by: Jeff | last post by:
Hi I have a report with a graph on it and want to change the minimum and maximum values for the value axis when it is previewed. This can't be done by adding code in the Open event as once the...
1
by: Jaweed | last post by:
Hi I'm developing an ASP.NET app in Visual studio (using C# for code behind). My question is fairly simple (i think). When I go to the code behind page, the controls in the html page are made...
17
by: Lee Harr | last post by:
I understand how to create a property like this: class RC(object): def _set_pwm(self, v): self._pwm01 = v % 256 def _get_pwm(self): return self._pwm01 pwm01 = property(_get_pwm, _set_pwm)
1
by: pigeonrandle | last post by:
Hi, I thought i should give a better explanation to my second 'bug' in my previous post (Bugs in VS2003 SP1) because it's taken me ages to figure out what was going on. Basically, one of my...
8
by: Phil Reynolds | last post by:
I have a single text box (a large one) in a form that pops up. I want the text box to change size as the user changes the size of the form. However, doing me.txtbox.width = me.width doesn't work,...
8
Megalog
by: Megalog | last post by:
Hey guys.. my turn to ask a question: I'm having a weird issue with a form I've reworked. This form has a combo box, which when used is changing the recordsource of a subform. This subform has...
3
by: Berlin Brown | last post by:
http://www.w3schools.com/htmldom/prop_frame_scrolling.asp I want to be able to get this example working with Internet explorer. it works fine in firefox. Does anyone have an idea how to resolve...
6
by: svdoerga | last post by:
I have a weird problem (or I'm overseeing something plain). I have a form which I open in formview with a query as recordsource (set in the design view). On opening, depending on some condition, the...
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: 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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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
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...

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.