Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Strange behavior

Status
Not open for further replies.

Vanni1975

Programmer
Joined
Mar 6, 2003
Messages
6
Location
BE
Hi ,

i've created a label class. I put it on the toolbox and then drag it on a form. I delete the label from the toolbox. Then I change the value of the private property in the class to True instead of false. I add it again to the toolbox and drag it to the form again. So i have two labels. When i check the propertievalues of them, the first is still false , only the last one is true. I hope I'm doing something wrong because otherwise this is a bug.. can somebody help me ?

thx!
 
I may be wrong here, but why is it a bug? When you initialized the first class the property was False, when you initialized the second it was True - why are you expecting both to now be True?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top