Skip to content

Xojo Programming Blog Posts

Extending Control Features on Windows

Recently an issue with our Windows MoviePlayer was brought to my attention. Specifically, it was a problem with our Looping feature when using the native player. The bug was unfortunate, but luckily there was a workaround. However, it required a less often used feature of the MoviePlayer control, the MovieController.

When we design a control, whether it’s a PushButton or MoviePlayer, we try to anticipate the most often used features and add them into our product. However, we understand that there are occasions when a certain feature is needed that we may not have exposed. For this purpose we’ve added Handle properties on almost every control. You can use this Handle property, with the right Declare, to access additional features of that control. In some cases though, at least on Windows, a bare bones Handle wouldn’t be enough. In the Windows world our Handle refers to the HWND of the control. In most cases this would be enough, however, we do have a few controls which are ActiveX based. Currently, the native HTMLViewer and MoviePlayer are one of these few ActiveX based controls.

Comments closed

HP Stream 7 and Xojo

Lately we’ve been talking a lot about our newly added iOS support for Xojo. Considering the popularity of iOS devices, it is understandable why we would be so excited. But iOS devices are not inexpensive.

On a lark, I purchased an HP Stream 7 (Signature Edition, which means no extra “bloatware” was installed) last week from the Microsoft Store. It was on sale for just $80! So what is an HP Stream 7 and how does it relate to Xojo?

Comments closed

Iterators

One feature that was added in Xojo 2014r3 that I haven’t seen much discussion about yet is iterators. In short, iterators are a way to make classes useable with the existing For Each loop feature.

Comments closed

Coding To Be Lazy

I know a lot of people like to write their local variable declarations like this:

dim i, i, j as integerdim k as double, s as string, b as boolean

Personally, I don’t and the reason is not that I like typing…

Comments closed

Guest Post: Learning Xojo

Bob Keeney has been an active member of the Xojo community since 2001. BKeeney Software has offered Xojo consulting work for 15 years with happy clients all around the world. Bob blogs regularly on Xojo and developer topics at www.bkeeneybriefs.com.

I think that Xojo is an amazing product. Clients love the simplicity and power of Xojo which is not found in many software development products. Part of what makes it a great product to work with is the wide array of options to learn more about the language- whether it’s for someone who’s new to programming trying to get an introduction to the language or for an experienced programmer trying to do a deep dive into the framework and what Xojo is capable of.

Comments closed

Xojo iOS Examples

Need some inspiration or some helpful code to get your first Xojo iOS app started? Take a look at a sampling of the iOS example apps that are included in Xojo iOS!

Comments closed