Skip to main content
Link
Menu
Expand
(external link)
Document
Search
Copy
Copied
twinBASIC Documentation
Welcome
Frequently Asked Questions
Tutorials
Arrays
CustomControls
Defining a CustomControl
Property Sheet and Object Serialization
Painting / Drawing to Your Control
Notes About the Form Designer
WebView2
Getting Started
Customize the UserDataFolder
Re-entrancy
Features
Attributes
Language Syntax
Alias Types
Data Types
Interfaces and CoClasses
Inheritance
Delegate Types
Generics
Overloading
Operators
Literals
Type Inference
Enhanced Pointer Functionality
UDT Enhancements
Loop Control
Return Syntax
Inline Variable Initialization
Handler Method Syntax
Module Organization
Comment Syntax
Project Configuration
Project Types
Compiler Options
ActiveX Registration
Standard Library
Unicode Support
File I/O
New Functions
GUI Components
Forms
Control Anchoring and Docking
Windowless Controls vs. Windowed Controls
Control Modernization
New Controls
Control Property Enhancements
UserControl Enhancements
Packages
Creating a TWINPACK Package
Importing a Package from TWINSERV
Importing a Package from a TWINPACK File
Updating a Package
Linked Packages
Advanced Features
Multithreading
Direct Assembly Insertion
Static Linking
Enhanced API Declarations
Class Features
Compiler and IDE Features
Compiler Warnings
Debugging
CodeLens
Modern IDE Features
Package Server
64bit Compilation
Fusion
Reference Section
Categories
Statements
Call
Class
Close
Const
Continue
Declare
Dim
Do...Loop
End
Enum
Erase
Error
Event
Exit
For Each...Next
For...Next
Function
Option
Procedures and Functions
Compiler Constants
Attributes
Controls
Glossary
Modules
(Default) Module
AllocMem
Array
ConvertIconToBitmap
CreateGUID
CreateStdPictureFromHandle
Emit
EmitAny
Eval
FreeMem
GetDeclaredMaxEnumValue
GetDeclaredMinEnumValue
GetDeclaredTypeClsid
GetDeclaredTypeEventIid
GetDeclaredTypeIid
GetDeclaredTypeProgId
GetInheritedOwner
GetMem1
GetMem2
GetMem4
GetMem8
GetMemPtr
GetShortcutTextByEnum
Input, Input$
InputB, InputB$
InterlockedCompareExchange32
InterlockedCompareExchange64
InterlockedCompareExchangePointer
InterlockedDecrement32
InterlockedExchangePointer
InterlockedIncrement32
ObjPtr
PictureToByteArray
PutMem1
PutMem2
PutMem4
PutMem8
PutMemPtr
RegisterMessage
RuntimeCreateGetMessageHook
SetThreadGlobalErrorTrap
StackArgsSize
StackOffset
Start
Stop (IGetMessageHook)
StrPtr
UnprotectedAccess
VarPtr
Width
vbaAryMove
vbaCastObj
vbaCopyBytes
vbaCopyBytesZero
vbaObjAddref
vbaObjSet
vbaObjSetAddref
vbaRefVarAry
Collection Module
Add
Clear
Count
Exists
Item
Items
KeyCompareMode
KeyCountHint
Keys
Remove
Compilation Module
CompilerVersion
CurrentComponentCLSID
CurrentComponentName
CurrentProcedureName
CurrentProjectName
CurrentSourceFile
ProcessorArchitecture
Constants Module
VbAppWinStyle
VbArchitecture
VbCalendar
VbCallType
VbCompareMethod
VbDateTimeFormat
VbDayOfWeek
VbFileAttribute
VbFirstWeekOfYear
VbIMEStatus
VbMsgBoxResult
VbMsgBoxStyle
VbStrConv
VbTriState
VbVarType
Conversion Module
CBool
CByte
CCur
CDate
CDbl
CDec
CInt
CLng
CLngLng
CLngPtr
CSng
CStr
CType
CVDate
CVErr
CVar
Error function
Fix
Hex
Int
MacID
Nz
Oct
Str
Val
ValDec
DateTime Module
Calendar
Date
DateAdd
DateDiff
DatePart
DateSerial
DateValue
Day
Hour
Minute
Month
Now
Second
Time
TimeSerial
TimeValue
Timer
Weekday
Year
ErrObject Module
Clear
Description
HelpContext
HelpFile
LastDllError
LastHresult
Number
Raise
ReturnHResult
Source
ExpressionService Module
AddCustomBinder
AddCustomBinderObject
AddStdLibraryBinder
Bind
Compile
Evaluate
FileSystem Module
ChDir
ChDrive
CurDir
Dir
EOF
FileAttr
FileCopy
FileDateTime
FileLen
FreeFile
GetAttr
Kill
LOF
Loc
MkDir
Reset
RmDir
Seek
SetAttr
Financial Module
DDB
FV
IPmt
IRR
MIRR
NPV
NPer
PPmt
PV
Pmt
Rate
SLN
SYD
Information Module
Erl
Err
IMEStatus
IsArray
IsArrayInitialized
IsDate
IsEmpty
IsError
IsMissing
IsNull
IsNumeric
IsObject
LBound
QBColor
RGB
RGBA
RGBA_A
RGB_B
RGB_G
RGB_R
TranslateColor
TypeName
UBound
VarType
Interaction Module
AppActivate
Beep
CallByDispId
CallByName
Choose
Command
CreateObject
DeleteSetting
DoEvents
Environ
GetAllSettings
GetObject
GetSetting
IIf
If
InputBox
MsgBox
Partition
RaiseEventByName
RaiseEventByName2
SaveSetting
SendKeys
Shell
Switch
Math Module
Abs
Atn
Cos
Exp
Log
Randomize
Rnd
Round
Sgn
Sin
Sqr
Tan
Strings Module
Asc
Chr
Filter
Format
FormatCurrency
FormatDateTime
FormatNumber
FormatPercent
InStr
InStrRev
Join
LCase
LTrim
Left
Len
Mid
MonthName
RTrim
Replace
Right
Space
Split
StrComp
StrConv
StrReverse
String
Trim
UCase
WeekdayName
TextEncodingConstants Module
Documentation Development
Challenges
Self-Contained Diagnostic Tool
Create a Game
Videos
Access DevCon Videos
tB Videos
IDE
Add Ins
Global Search
Community Add Ins
Call Stack
Debug Console
Diagnostics
Editor
Find / Replace
History
Memory
Menu
File
Edit
View
Project
Format
Debug
Run
Tools
Add-Ins
Window
Help
Open Editors
Outline
Package Publishing
Project
Project Explorer
Project Settings
Properties
Splash Screen
Status Bar
Toolbar
Toolbox
Variables
Watches
Webpage
tbForm
tbReport
twinBASIC Home
Light mode
Dark mode
twinBASIC Home
IDE
tbReport
.tbReport
Contains
Report Header
Page Header
Report Detail
Page Footer
Report Footer
Only certain
Controls
are available to a Report.
Pointer
Label
Shape
Line
Image
CheckMark
QRCode