Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Design issues
Message
From
08/08/2010 03:45:00
 
 
General information
Forum:
ASP.NET
Category:
Class design
Title:
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01475236
Message ID:
01475640
Views:
20
>If you mean that you need to access other properties/methods of the Parser class from the RWTCOverride method then ?:
Public Class ClassThatOverridesAParserMethod
>    Dim loParser As Parser
>    Public Function GetPage() As Boolean
>        loParser = New Parser()
>        loParser.Handler = AddressOf RWTCOverride
>        Return loParser.ParseForTable()
>    End Function
>
>    Function RWTCOverride() As Boolean
>        'Access the Parser e.g:
>        Dim s As String = loParser.SomeItem
>        Return False
>    End Function
>End Class
Ok, using it as a Public property would work. I can reference a loParser.cValue as is in the Override method.

>I think we're at cross purposes here. I don't understand why, given a Parser object with the correct behaviour, you need any override code in the class that uses it.

I just thought you mentioned there would be a simpler way to accomplish this.

Thanks
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