Most of us build apps without thinking too much about how much memory the app will need. Sure sometimes you end up creating an app that is a real memory buster but that’s unusual. With virtual memory, gone are the days when your app would just run out of memory and crash, or are they?
Comments closedCategory: Cross-Platform
While Xojo doesn’t currently provide a direct way of recursively deleting a folder, there are various options that will allow you to do this:
1. Recursively iterate through all the folders, deleting each one. You can read about that at our Developer Site, this is the best cross-platform way.
2. Use the Shell to recursively delete a folder (i.e. “del /s” on Windows, or “rm -rf” on OS X and Linux)
Windows specific ways:
3. SHFileOperation (an older API)
4. IFileOperation (the more modern API that Windows recommends over option #3)
I’ve decided to look at option #4, since this allows more customized options, like the ability to show a progress dialog. However, it is also the slightly more complicated option since it deals with COM & Delegates. The example illustrates this:
Comments closedA couple years ago I wrote a post about Going Rogue with Xojo. It proved to be rather popular and I got some great stories back from how people were able to use Xojo in their organizations.
Comments closedIf you work in the technologiy industry, I’m sure you’ve heard of the Daily WTF site. Their fun stories about technology gone wrong makes it one of my favorite web sites.
Comments closedAre you a consultant that uses FileMaker to create solutions for your clients? Do you work in an office and use FileMaker to run your company’s business?
Comments closedOn Tuesday, January 12th Microsoft is ending support for Internet Explorer 8, 9 and 10.
Comments closedBy default the built-in Web Browser that is used on Windows to show web pages uses the Internet Explorer 7 rendering engine. Which means the Xojo HTMLViewer and the ActiveX WebBrowser controls also use this older rendering engine.
Comments closedWhen doing a lot of manipulation to a TextArea’s contents under Cocoa, performance can suffer due to the underlying NSTextView doing work on layout and glyph selection. This can be sped up by telling the text view that you’re going to begin editing. You can do this by using a few Cocoa Declares.
Comments closedUpdate Aug 2017: Starting with Xojo 2017 Release 2 your app icons are automatically included in 64-bit Windows apps without having to do the workarounds described in this post. Upgrade today! If you are still using older versions of Xojo, then these workarounds are still necessary.
Comments closedDuring my keynote address last April at XDC, the Xojo Developer Conference, I said that we would be adding Retina support (the OS X feature that provides for ultra-high resolution displays) to the OS X framework in the 4th quarter of this year. We have been working very hard on Retina support both for the OS X framework and for the IDE itself. We didn’t want to stop there though. Windows also supports ultra-high resolution displays. For Windows, this technology is called HiDPI. Xojo is a cross-platform tool so we decided we should support both Retina and HiDPI, and do it in such a way that you don’t have to do much of anything and they just work.
UPDATE: Xojo Retina is here, April 2016
Comments closed