How to override Control.Focused?

Tech-Archive recommends: Speed Up your PC by fixing your registry

Daniel
Date: 03/15/04


Date: Mon, 15 Mar 2004 10:00:42 +0100

Hello NG!

Within a custom-control (inherits system.windows.forms.control), that
contains some 'basic'-controls I want to override the Focused-property,
because oztherwise it always returns false. But the property is marked as
NotOverridable within the CF (althought the help says something different).

Is there a workaround for that problem?

Thanks, D.Barisch



Relevant Pages

  • Re: CollectionBase inheritance problem
    ... The BaseCollection.List property is overridable requiring you to override it ... > Public Class ShapesCollection ... > Inherits BaseCollection ... > Private Sub frmDraw_Load(ByVal sender As System.Object, ...
    (microsoft.public.dotnet.languages.vb)
  • inheritance not working properly -- Help please!!
    ... I have two classes in C#, one is the base, the other inherits from the base ... when I type "public override", ... method so I can override it in my inherited class? ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Run code for every Page_Load?
    ... Another alternative is to create your own page class that inherits from Page ... Then you can override the ... >> Elton Wang ... >> avoid having to ...
    (microsoft.public.dotnet.framework.aspnet)
  • Synchronized Collection Recommendation
    ... class that inherits from Collection? ... to implement a SyncRoot property [of type ... I do not see an override for GetItem. ...
    (microsoft.public.dotnet.languages.csharp)