Article Preview
Buy Now
FEATURE
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
Resource File(s):
project14506.zip Updated: 2016-09-01 11:29:42
Related Web Link(s):
http://www.ohanaware.com/xojo/
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
xDev
website and copy the "projectCyborg" module into a brand new Desktop project.Add a
canvas
filling the left hand side ofWindow1
, then alistbox
to fill the right hand side of the window like Figure 1.Now add the following as a shared method to
Window1
. Note that thismust be ashared method as 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.