Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inherited property does not set to itself
Message
From
21/01/2005 20:11:51
 
 
To
21/01/2005 18:47:44
General information
Forum:
ASP.NET
Category:
Class design
Miscellaneous
Thread ID:
00979501
Message ID:
00979519
Views:
13
To add more to this, the only time that I cannot see the new value I have set is from a method in the class. If I set the value in the derived class, I can see it in all those methods. But, calling a method from the class will make the setting I have done to dissappear and replaced by the default value of the property defined in the class level.

In order to workaround this, I have to create a method in the class such as:
    ' expC1 Table
    Public Function SetLogin(ByVal tcTable As String) As String
        cLogin = tcTable
    End Function
that I am calling from the derived class. Using this approach will make the class property to hold the new value even when I am calling a method of its own later on.

But, this is kind primitive. I must be missing something. What is blocking the derived class to be able to set a value into that property which would also be visible in the class?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform