DesktopButton is the base of Button1 / YourButton
if DesktopButton have property x,y,with,height your new class Button1 have it too.
Button1 in form designer is the class name / object name
var b as new Button1
if you sub class a Canvas Object you can add your own methods / features there
and you can also drag/drop it into form designer as example.
you can process events from the canvas in this sub class or for each instance in a window event where it was placed.
ok I guess we were considering two different scenarios. I was referring to a button dropped onto a Window, while you a Button dropped in the navigator, outside of a Window ! Sorry for the confusion!
So I am convinced it’s a small inaccuracy of the inspector: in case of a dropped button into a Window, DesktopButton should be labeled as Class and not Super!
i was wrong, seems buttons in a window designer are just DesktopButtons
that have the debugger showed. it make sense because there was no change at this class.
yes, the confusion arises from the naming of the field as Super, that has a different meaning for Window (and custom classes) and UI controls into a Window