Gestures and Tabs
Handling MacOS Gestures and Sierra's Tabs
Issue: 14.5 (September/October 2016)
Author: Sam Rowlands
Author Bio: Sam is a pixelMancer and codeWeaver at Ohanaware.
Article Description: No description available.
Article Length (in bytes): 23,135
Starting Page Number: 47
Article Number: 14506
project14506.zip Updated: 2016-09-01 11:29:42
Related Web Link(s):
Excerpt of article text...
Ready to dig back into extending your Xojo-made application? For this article, we're going to go over implementing macOS Gestures and Sierra's tabbed windows. I'm also going to introduce an exciting piece of technology that I call "projectCyborg."
To get started, download the demo project from the
xDevwebsite and copy the "projectCyborg" module into a brand new Desktop project.
canvasfilling the left hand side of
Window1, then a
listboxto fill the right hand side of the window like Figure 1.
Now add the following as a shared method to
Window1. Note that this
mustbe a shared methodas it will not work otherwise.
Private Shared Sub handleRotateGesture(receivingNSID as Ptr, inSelector as Ptr, NSEventID as Ptr)
...End of Excerpt. Please purchase the magazine to read the full article.