Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 14 in printed book and digital formats -- plus a one-year subscription so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview


Buy Now

Issue 14.6

COLUMN

Colors and Licenses

Open Source code for Xojo

Issue: 14.6 (November/December 2016)
Author: Scott Boss
Author Bio: Scott Boss is the founder of Nocturnal Coding Monkeys, Llc, who specialize in writing custom software. Scott has been a developer, system administrator, storage engineer, consultant, and architect to businesses from startup to global 100.
Article Description: No description available.
Article Length (in bytes): 6,842
Starting Page Number: 108
Article Number: 14610
Related Link(s): None

Excerpt of article text...

This month I am going to break a promise that I made to myself about this column. We are going to talk about something I authored. Actually, we are going to talk about two different open source items I wrote!

First we are going to look at Xojo Colors Module (https://bitbucket.org/nocturnalcodingmonkeys/xojo-colors-module). In Xojo, whenever you deal with colors, you either have to use hex code strings (in code) or you have to pick colors via the Xojo IDE. Now the Colors module doesn't help you when picking colors via the IDE. If we look at the following code, we use Colors.Apple.White to make the background of the canvas white.

// event canvas.Open().

Function Open()

dim p as new Picture( me.width,me.height,32 )

...End of Excerpt. Please purchase the magazine to read the full article.