Resources

Examples

From Xojo Documentation

There are over 400 example projects included in the Xojo Download, which you can access directly from the Project Chooser.

ProjectChooser-Examples.png

Below is a searchable list of what you'll find in the Examples folder when you download Xojo.

Contents

Example Projects

Advanced

AddHandler

  • AddHandler

Build Automation

  • AutoSaveScript

Declares

  • DeclareGetPID
  • WindowOpacity

Delegates

  • DelegateExample

IDE Scripting

  • AddCommentHeader.xojo_script
  • BuildAllDesktop.xojo_script
  • CreateConstant.xojo_script
  • EncryptItems.xojo_script
  • ReloadProject.xojo_script
  • SetShortVersion.xojo_script
IDECommunicator
v1
  • IDECommunicator
  • testscript.xojo_script
v2
  • IDECommunicator-Tester
  • IDECommunicator
  • testscript.xojo_script

MemoryBlock

  • FastStringAppend

Shell

  • AsyncShellExample
  • GetDirectory
  • Interactive Shell
  • ShellBackendTest

Thread

  • Semaphore Example

XojoScript

  • Evaluator
  • XojoScript
Imaging
  • ScriptImaging
Scripts

Communication

  • IPCSocket

Internet

  • AutoDiscovery
  • Email Example
  • EmailSSLExample
  • GoogleMaps
  • HTTP Example
  • HTTPDownloader
  • HTTPSocketPostExample
  • JSON Example
  • NetworkInterface
  • ServerSocketClientTest
  • ServerSocketServerTest
  • SimpleChat
  • SOAPConversionRate
  • SOAPTempConv
  • SynchronousTCPSocketClass
  • SynchronousTCPSocketExample
  • TwilioAnswerCall
  • TwilioSMS
  • UDPExample
  • YouTube
EasyTCPSocket
  • EasyTCPSocket Server
  • EasyTCPSocket-iOS
  • ServerSocket-Desktop
Web Server
  • WebServer
  • WebServerWindowsService

Serial

  • Line State Change Tester
  • Serial Port Bar Code Reader Example
  • SerialLineIndicator

Web Services

  • AirTableArtGallery
  • FeedBin
  • FormatSQLService
  • RESTy
  • Slack
CatAPI
  • Cats

Console

  • ArraysConsoleAndUserInput
  • ConsoleSendmailTest
  • signals
  • TimerExample

Multiprocessing

  • WordCounter
  • WordCounterGUI

Database

MSSQLServer

  • MSSQLServerExample

MySQL

  • MySQLExample

ODBC

  • GetDataSourceNames
  • ODBCExample

Oracle

  • OracleExample
  • OraclePluginTest

PostgreSQL

  • PostgreSQLExample
LargeObjects
  • LargeObjects
ListenAndNotify
  • Listen
  • Notify

PreparedSQLStatement

  • SQLitePreparedStmt

SQLite

  • DatabasePictureTest
  • FTS5Example
  • FTSExample
  • SQLiteBackup
  • SQLiteBlob
  • SQLiteExample
  • WebSQLiteExample

Design Patterns

  • Decorator
  • Factory
  • Interpreter
  • LazyInitialization
  • Observer
  • Singleton

Desktop

ContainerControls

  • ContainerControlExample
  • DownloadContainer
TabbedWebBrowser
  • TabbedWebBrowser

Controls

  • BevelButton
  • ControlSets
  • GroupBox
  • ProgressBar
  • ScrollBarExample
  • SegmentedControl
  • TextFieldResizing
ListBox
  • FileBrowser
  • IconGrid
  • ListBoxDragBetweenCells
  • ListBoxExample
  • ListBoxExportExample
  • ListBoxGridExample
  • ListBoxOverOnEvents
  • PropertyListExample
  • SourceListExample
Icons
Toolbar
  • DesktopToolbarsDynamic
  • DropDownToolbar
  • ToolbarExample
Graphics
Icons

Custom Controls

  • CalendarWindow
  • CanvasButton
  • LinkLabel
  • OKCancelContainer
  • SelectablePopupMenu

Dialog Boxes

  • DialogsExample

DragAndDrop

  • ListBoxDragAndDrop
  • ListBoxesDragAndDrop

Menus

  • ConstructContextualMenu
  • FontMenu
  • OpenRecentMenu
  • WindowMenu

Threading

  • ThreadingExample

TrayItem

  • TrayExample

UpdatingUIFromThread

  • UIThreadingWithTask
  • UIThreadingWithTimer

Windows

  • InputWindow
  • ModalWindowExample

Files

  • Copy and Move Example
  • DragToFinder
  • FileBrowser
  • FileSearch
  • FolderInfo
  • FolderItem Dialogs
  • SpecialFolderPaths

BinaryStream

  • BinaryStream

FileTypeSet

  • FileTypeSetExample
  • PNGFileType

Framework

  • CryptoExample
  • CryptoRSAExample

Games

  • FallingBlocks
  • GameInputExample

2K

  • 2K-Desktop
  • 2K-iOS
  • 2k-Web

BlockAttack

  • BlockAttack

Combat

  • Combat
Sounds

Jewels

  • JewelGame

Sliders

  • Sliders-Desktop
  • Sliders-iOS
  • Sliders-Web
Graphics
Sounds

SpaceRocks

  • SpaceRocksDesktop
  • SpaceRocksiOS
Launch Images
Sounds

Turtle

  • Turtle-iOS
Sounds

Graphics and Multimedia

  • CanvasAreas
  • CanvasDragRect
  • CanvasDrawDrag
  • CanvasDrawString
  • CanvasScrolling
  • CanvasZoom
  • Dice
  • DoReMi
  • DrawingWithThreads
  • Fire
  • FlowChart
  • FolderMoviePlayer
  • GradientExample
  • GraphicalClock
  • GraphTest
  • GridLockExample
  • Obj2DTextRotation
  • Pinball
  • Sparkler
  • System Colors
  • VectorGraphics
  • WaveLetter

Animation

  • Animation

DragPicture

  • DragPicture

ObjectsInCanvas

  • ObjectsInCanvas
Graphics

OpenGL

  • FluidsDemo

Sound

  • Sound Player

iOS

Apps

  • TicTacToe
  • TipCalculator
XojoClicker
  • XojoClicker
XojoDoodle
  • XojoDoodle
XojoNotes
  • XojoNotes
Images

Auto-Layout

  • AutoSizeLabel
  • LayoutConstraintExample
  • NoCodeProportionalSpaced
  • SwitchingConstraints

Controls

  • DatePickerExample
  • DynamicControls
  • FontExample
  • HTMLViewerExample
  • MessageBoxExample
  • Motion
  • PicturePicker
  • ProgressExample
  • ScrollableArea
  • SegmentedControlExample
  • SharingPanel
  • SwipeExample
  • SwitchExample
  • ToolbarExample
  • TouchCanvas
Location
  • Location
TabBarExample
  • TabBarExample
Table
  • CustomCellDynamicHeight
  • CustomCellsAndScroll
  • GroupTableExample
  • SectionTableExample
  • SelectableTable
  • SimpleTableExample
  • TableActions
  • TableCellSizes
  • TableCheckmark
  • TableDataSource
  • TableDetail
  • TableDisclosure
  • TableEditing
TableDataSourceDatabase
  • TableDataSourceDatabase

Database

  • SQLiteExample
  • SQLiteInMemory
  • SQLiteVersion

Declares

  • AlertSheet
  • Base64Encoding
  • IconBadgeNumber
  • iOSAlerts
  • iOSTabDeclares
  • ModalView
  • Pasteboard
  • SetFocus
  • ShowURL
  • Speak
  • TableSelectAndScroll
  • TextFieldBorder
  • UIButtonDeclares
  • UIDevice
Graphics

Framework

  • AdvancedThreadingExample
  • CryptoExample
  • DateExample
  • IntrospectionExample
  • ThreadExample
  • TicksExample

Graphics

  • AnalogClock
  • CanvasDrawDrag
  • ClipExample
  • DiceRoller
  • PathExample
  • Psychedelic
  • RotationExample
  • SineWaves
  • SparkleTouch

Navigation

  • NavigationExample
  • PushToExample
  • SplitViewExample

Networking

HTTPSocket
  • iOSHTTPSocketExample
TCP
  • tcpsocket_ios
  • tcpsocket_server

Sound

GameBuzzer
  • GameBuzzer
NatureSounds
  • NatureSounds

Language Features

  • ActionSourceInterfaceExample
  • BuiltInAttributes
  • Dictionary
  • Enumerations
  • ExtensionMethods
  • MethodAssignment
  • OperatorLookup
  • OperatorOverload
  • ParameterOptions

Misc

  • PiDay
  • Sort Algorithms

Platform-Specific

Linux

  • GetDefaultControlSize
  • OverlayScrollbars
GTK3 Themes
  • LinuxLoadBuiltinTheme
  • LinuxLockedPaddingExample
WindowShape
  • WindowShape

OS X

  • AddressBook
  • Cocoa Declares
  • DragPromises
  • FastCocoaTextAreaUpdates
  • FileSystem
  • KeyChainExample
AppleScript
  • AppleScriptTest
PictureEffects
  • CopyOSHandle

RaspberryPi

  • LEDBlinker-Console
  • LEDButton-Console
  • WiringPi-GPIO
  • WiringPi-UI

Windows

  • CommandLinkExample
  • CPUUsage
  • DeclareDrawing
  • MutexExample
  • SetWindowIcon
  • SetWindowTitle
COM
  • OLE Automation Tests
CustomWindowShape
  • WindowShape
LoadMSAccessUsingADO
  • LoadMSAccessUsingADO
Making Installers
  • InnoSetup.xojo_script
Office Automation
  • Excel Automation
  • PowerPoint Automation
  • Word Automation

Printing and Reporting

CombitListAndLabel

  • CustomerList

Printing

  • GraphicsPrintingExample
  • Labels
  • Printing To Screen or Printer
  • PrintingText
  • StyledTextPrinterExample
PrintingGraphics
  • PrintingPicture

Reporting

  • ListBoxReport
GasReport
  • GasReport
Orders1
  • List Of Orders
Orders2
  • Breaking List Of Orders
Products
  • List Of Products Preview
  • List Of Products

Sample Applications

  • Chat
  • MapLocation
  • MathFacts
  • SimpleBrowser
  • ToDoDesktop
  • ToDoWeb
  • URLManager
  • XojoText

8Queens

  • 8Queens

EddiesElectronics

Database
  • DemoDataGenerator
Desktop
  • EEDesktop
Graphics
Images
Pictures
iOS
  • EEiOS
App Icons
Graphics
Web
  • EEWeb

Slideshow

  • SlideShow
Photos

XojoNotes

  • XojoNotesDesktop
  • XojoNotesWeb

Text

  • ClipBoard
  • DragText
  • FormatJSON
  • SearchAndScroll
  • StyledText
  • XMLExample
  • XMLReader

Web

  • HashTagExample
  • HelpDeskWithChat
  • LoginExample
  • PushExample
  • ScrollingWebPage
  • SecureLoginExample
  • SessionTimeout
  • WebService-HandleSpecialURL
  • WebSessionContext

Containers

  • ContainerControlDynamicExample
  • ContainerControlExample
  • Navigator
  • ScrollingContainer
  • TabPanelExample
  • WebGridContainer

Controls

  • AudioPlayer
  • ControlWithName Example
  • LargeData
  • ListBoxDataSource
  • ListBoxExample
  • ProgressBar
  • Scrollbar
  • SortableListBox
  • ThreadProgress
  • TimerExample
  • WebComboBox
  • WebFileUploader
  • WebMoviePlayer
iOS7Controls
  • iOS7SimulatedControls
MapViewer
  • MapViewer
Toolbar
  • ToolbarExample

Dialog Boxes

  • DialogsExample
  • DynamicDialogsExample

Downloading

  • Downloading

Drag and Drop

  • DragTest
  • SimpleDragAndDrop

Graphics

  • CanvasBoxes
  • CanvasClock
  • RuntimePictureLoading
  • WebGridExample
Animator
  • Animator
CanvasChart
  • EECanvasChart

Menus

  • WebMenu
  • WebToolbarMenu

Printing

  • HTMLViewerPrinting

SSL

  • SSLTest

Styles

  • StylesExample

Xojo Cloud

  • CloudTop

FileManager

  • XojoCloudFileManager

Xojo Framework

  • ArraysExample
  • ArraySorting
  • DataTypes
  • DictionaryExample
  • HTTPSocketGetExample
  • HTTPSocketPostExample
  • IntrospectionExample
  • IterableListBox
  • IterableText
  • Text
  • TextEncodings
  • TextFileCreator
  • UsingExample