Gambas Documentation
Application Repository
Code Snippets
Basic considerations and optimized printing for graphics-centered applications
Delete files and folders recursively
Get the active network interface
Handy bug tracking using `Error.Backtrace().Join("\n")`
Minimal file dialog based on FileChooser GUI component
Precise control of the display of a scroll bar
Set grid column titles etc the easy way
Undo/redo buffer
Compilation & Installation from source code
Components
Controls pictures
Deprecated components
Developer Documentation
Development Environment Documentation
Documents
Error Messages
Gambas Playground
How To's
Language Index
Language Overviews
Last Changes
Lexicon
README
Search the wiki
To Do
Topics
Tutorials
Wiki License
Wiki Manual

Code Snippets

Here you will find helpful code snippets that implement typical requirements that frequently occur in new projects and usually have to be written from scratch.

  • Basic considerations and optimized printing for graphics-centered applications

  • Delete files and folders recursively

  • Set gridded control column headers the easy way

  • Get the active network interface

  • Get debugging info using Error.Backtrace

  • Minimal file dialog based on FileChooser GUI component

  • Precise control of the display of a scroll bar

  • Undo redo buffer