If youre one of the people who didnt get the Xojo Experience survey there’s one thats a lot alike at INN
On the forums someone is looking for a way to identify what kind of file they are dealing with. And then a way to “sort” knowing those types.
The suggestion given is to look at each extension in a simple way
But, you can get away without ever having to look at the extension. Folderitem already assigns a TYPE IF there is a filetype defined that matches.… Read the rest
Help keep your code sanity
Ever think to yourself “Oh I have this project to do and I’ll just cut and paste the code from there and tweak it?” And now you have two copies that are a lot alike but maybe not exactly the same.
And then you do this over & over and now you have many copies of that code?… Read the rest
A long time ago I was in a BEd\Bsc program at University.
It was supposed to end with me having two degrees. One Degree in Education and one in Computer Science. But the two faculties couldn’t agree on the course of studies over 5 years. And when I got to year 5 it turned out both expected me to do at least one more full year in each faculty.… Read the rest
Sometimes you want classes to have a common API.
But rather than adding a common super class or interface to define that common API, you just make sure your classes have the same methods, events, properties & whatever else you feel is necessary to make them have “the same API”.
I would suggest you rethink doing this.… Read the rest
When extension methods aren’t a suitable replacement
A lot of API 2 is extension methods that are replacements for the classic global framework methods.
String.LowerCase is for all intents and purposes the equivalent of Lowercase(string).
Except when its not.
If you happen to have methods that can return a wide variety of types you may not be able to use the extension methods.… Read the rest
Recently there was a blog post about Xojo looking at WinUI as the new foundation for Xojo.
Thats great – except (you knew that was coming didnt you?)
WinUI wont support anything older than Windows 10 at this time (specifically they note Win10, 1809+)
How Xojo handles this will be interesting to watch.
Will they simply abandon Win32 and any users on older versions ?… Read the rest