Jason found out that GE is building the world’s largest ‘Additive’ Machine which will 3D print metal parts for jets from metal powder. Speaking of puns, did you know there was a Programming Puns subreddit? Now you do!Ĭatch this recap of the June Virtual Xojo User Group meeting – that’s VXUG for those of you in the know ?
#Round in xojo software#
This punny bit about the origin of the name CodeWarrior that we learned when researching its history for our post Daring to Defy Software Extinction about the longevity of dev tools. We just can’t get away from JSON! Paul found this brief history of JSON. I was excited to learn that this year’s Astronaut class of 12 includes 5 women! Javier brought to our attention that NASA had needed engineers that knew assembly languages and FORTRAN. Sorry if no one replied to your email back on June 9th, we were reading the reviews on this Banana Slicer. Paul got to talk server updates with John Gruber (he’s still talking about around the watercoolor). Our favorite Xojo Blog post in June was actually 3 posts: JSON Feed Web App, JSON Feed iOS App, and JSON Feed Desktop App. Registered in Taipei, Taiwan R.O.C.We’re starting a new thing! At the end of each month we’ll round up a few of our favorite things – from blog posts, announcements, technology, science and whatever other stuff the Xojo team thinks was noteworthy and I’ll post it. The Ohanaware names & logos are ©2020 Ohanaware Co., Ltd. NSViewUnregisterDraggedTypes( me.handle ) That is unless you want the ImageWell to be a separate drop zone.
#Round in xojo code#
To avoid this, add the following code to the "Open" event.
Which creates a weird situation if you use a ImageWell as part of a drop area. There's a matching function for removing the cursor too, which is also a shared method. The methods above for setting the cursor are shared methods, which can be called anywhere. What about just wanting the cursor and not the highlight ring? The cursor is automatically removed, when "dropRing.hide" is called. tCursorToDragLinkĪnd the infamous operation not permitted cursor tCursorToOperationNotAllowed While the "dragCopy" cursor might work, I wanted to see if there was a better choice, the "dragLink" cursor. I couldn't get it to work.ĭigging into Apple's documentation, I was able to move on by writing declares. Xojo has the capabilities for setting the cursor and I thought it would be as easy as setting the cursor on dragEnter. I apologize in advance, as hard as I tried to screengrab the cursors, macOS Catalina point blank refused to include the cursor in the screenshot, even when enabled in the command-shift-5 options. Great, so that's the highlight ring handled, now what about the cursor? Providing a drop action cursor On dragExit or dropObject, we want to remove the drop ring, dropRing.hide rnerRadius = 8ĭropRing.showInControl meMoves the ring inside the control by the inset and rounds the corners. dropRing.showInControl me The control takes care of the rest, following the guidelines and drawing the drop highlight on the control. Simply add this control to your window (or container control) and call it on DragEnter. With version 1.0.6 of the Ohanaware App Kit I've added a new control, which I've dubbed "OWDropRing". In my case, I want to ensure that I am drawing the highlight ring (from left image) and providing a cursor that will match the action (right side image). So taking a trip over to the Apple documentation, finds me what I need. The correct way to highlight an area or control which can accept a dropped item. I came across an interesting scenario, something which I appear to have forgotten in recent years. It is no secret that for the last few months, I've been hard at work on App Wrapper 4.
#Round in xojo mac#
Building a better Mac App with Xojo Sunday, August 23, 2020īuilding a better Mac App with Xojo Illustrating that an area can accept a droped item Sunday, AugSam Rowlands