Ohanaware App Kit 1.1 Release
Now includes the OWStackView, VDS Picture Button and folderitemReference
Tuesday, September 29, 2020 - Sam Rowlands
Version 1.1 Highlights
OWStackView - the easy way to provide a scrolling interface in a Xojo made application. Has 3 display modes. Alternating rows (like the screenshot above, which supports desktop tinting), solid color or transparent. This control is used throughout App Wrapper 4 (coming soon).
VDS Picture Button - A OWPushButton subclass created by Valdemar De Sousa. Assign this class two pictures and it will swap between them on mouse over.
folderitemReference - This brand new class for Xojo restores Xojo made applications ability to track files while the application is running. Simply create a folderitemReference from a folderitem and use that when you need to load or save. This helps solve Feedback #58327
Existing customers will receive their App Kit update via e-mail, new customers can purchase the Ohanaware App Kit from https://ohanaware.com/appkit/.
Version 1.1 - September 29th 2020
- Now includes Valdemar De Sousa's Picture Button.
- folderItemReference object, which keeps track of a folderItem while the application is open.
- Now Includes a beta version of the OWStackView class.
- OWSourceList.listSizeValues.systemSetting - Uses the system setting for the source list size (currently doesn't auto update when the system changes).
- OWLargeButton - This is more of a demo really on how to use the System API to create buttons.
- OAK2020.dragHelper global property to compensate for whereby a Xojo application cannot access the initiator of a drag.
- NSSliderSetVertical( instance ) = value - Allows a slider to made vertical on macOS.
- NSImageFromName - now handles complete and partial paths.
- NSGraphicsContextSetImageInterpolation.
- NSSavePanel Now uses the Xojo provided Block handler with Xojo 2019.02 or newer.
- window.title( mainTitle, subTitle ) - for setting the maintitle and subtitle.
- NSGradientinitWithStartingColorendingColor - For creating a NSGradient.
- NSGradientDrawFromPointToPointOptions - For drawing a linear gradient.
- NSGradientDrawsBeforeStartingLocation
- NSGradientDrawsAfterEndingLocation
- kNotificationNSAppearanceChanged - Default notification to use in your apps to handle the appearance changing, including the selected accent color.
Requires issuing on the appearance changed event of the application, and capturing using the OWNotificationListener protocol.
- NSGradientInterpolatedColorAtLocation - Returns a color from a NSGradient at a certain position.
- NSColor_setStroke - Sets the selected NSColor as the stroke color.
- NSMenu_itemAtIndex
- NSWorkspaceRecyleURLS
- NSAppleScript will now raise an exception when it's called from a Xojo thread. This is because on some installations of Catalina it crashes, but not all
and we don't have any indication as to why at the moment.
- Updated the example for adjusting a window to when it changes screens.
- Updated NSTextFieldEditable to be NSTextFieldSetEditable
- Added NSTextFieldEditable for getting the editable state.
- NSOpenPanel
- Fixed an issue when displaying a NSSavePanel or NSOpenPanel from a containerControl.
- Date.DayInTime
- NSSavePanel2019.allowedFileTypes now uses allowedContentTypes on macOS 10.16 Big Sur.
- NSURLisFileReferenceURL
- NSURLisFileURL
- NSURLFileReferenceURL
- NSURLFilePathURL