locked
Feature request: inheritance in extensions RRS feed

  • General discussion

  • I was trying to do something like:

    Public Class Button : Inherits Clickable

    Clickable handles things like the region dimensions, MouseUp calls and does the hit test logic to raise a click event. Where Button is simply concerend with rendering itself and carrying whatever extra baggage it needs like text, color, border.

    SB does not recognize the inherited methods and events on Button. So I can not do Button.Onclick =... I have to go to the super class and do Clickable.OnClick =...


    Can I bum a sig
    Sunday, November 21, 2010 8:23 PM