How do (or will) you use class overrides?

In 2017R2 it becomes possible to override default settings for Xojo integrated classes see http://developer.xojo.com/override-system-class-default-values and Paul’s movie on R2 new features https://youtu.be/rWQ2jlzh8GY?t=944 (I’ve fast-forwarded the movie to this subject but it is worth watching the whole movie).

I’m using this feature to set Implicit Instance to off for new Windows (and size as per the movie).

I’d be interested to see how others are using it. (Looking for ideas :slight_smile: )

Some window default settings.
I also just tried this for Canvas.defaults but unfortunately it doesn’t work:

DoubleBuffer=1 EraseBackground=0

@Stefan Adelsberger Did you restart Xojo as per Paul’s demo?

Yes I did.

Well this

DoubleBuffer=True EraseBackground=False
Works, so I’m guessing using 0 & 1 isn’t a good plan. Please add a feature request to use 0 & 1 if needed.

[quote=348447:@Wayne Golding]Well this

DoubleBuffer=True EraseBackground=False
Works, so I’m guessing using 0 & 1 isn’t a good plan. Please add a feature request to use 0 & 1 if needed.[/quote]

That’s interesting because this in Windows.defaults works:

Width=800 Height=500 Frame=1 MaximizeButton=0 MinimizeButton=0 ImplicitInstance=0 Visible=0

But I guess =1 would not work … good to know :-).

I would have expected the Xojo installer to create the Overwrites folder for me during installation with perhaps one *.default example file in it.