Gambas Documentation
Application Repository
Code Snippets
Compilation & Installation from source code
Components
gb
gb.args
gb.cairo
gb.chart
gb.clipper
gb.complex
gb.compress
gb.crypt
gb.data
gb.db
gb.db.form
gb.db.mysql
gb.db.odbc
gb.db.postgresql
gb.db.sqlite2
gb.db.sqlite3
gb.db2
gb.dbus
gb.dbus.trayicon
gb.debug
gb.desktop
gb.desktop.gnome.keyring
gb.desktop.x11
gb.eval
gb.eval.highlight
gb.form
gb.form.dialog
gb.form.editor
gb.form.htmlview
gb.form.mdi
gb.form.print
gb.form.stock
gb.form.terminal
gb.gmp
gb.gsl
gb.gtk
gb.gtk.opengl
gb.gtk3
gb.gtk3.opengl
gb.gtk3.webview
gb.gui
gb.gui.opengl
gb.gui.qt
gb.gui.qt.ext
gb.gui.qt.opengl
gb.gui.qt.webkit
gb.gui.trayicon
gb.gui.webview
gb.hash
gb.highlight
gb.image
gb.image.effect
gb.image.imlib
gb.image.io
gb.inotify
gb.jit
gb.libxml
gb.logging
gb.map
gb.markdown
gb.media
gb.media.form
gb.memcached
gb.mime
gb.mongodb
gb.mysql
gb.ncurses
gb.net
gb.net.curl
gb.net.pop3
gb.net.smtp
gb.openal
gb.opengl
gb.opengl.glsl
gb.opengl.glu
gb.opengl.sge
gb.openssl
gb.option
gb.pcre
gb.pdf
gb.poppler
gb.qt4
gb.qt4.ext
gb.qt4.opengl
gb.qt4.webkit
gb.qt4.webview
gb.qt5
gb.qt5.ext
gb.qt5.opengl
gb.qt5.webkit
gb.qt5.webview
gb.qt6
gb.qt6.ext
gb.qt6.opengl
gb.qt6.webview
gb.report
_ReportBorderSide
Align
Arrange
Line
Report
_get
_New
Autoresize
BackGround
Border
Children
Clear
Clone
Count
Data
Debug
Expand
Fill
Fixed
Font
Height
Ignore
Index
Layout
Left
Main
None
Open
Orientation
Padding
PageCount
Paint
Paper
Preview
Print
Proportional
Refresh
Resolution
Scale
Spacing
Text
Top
Visible
Width
X
Y
ReportBorder
ReportBrush
ReportContainer
ReportControl
ReportDrawingArea
ReportFrame
ReportGridView
ReportHBox
ReportImage
ReportLabel
ReportLine
ReportPadding
ReportPanel
ReportSection
ReportSvgImage
ReportTextLabel
ReportUnits
ReportVBox
ReportView
ReportVPanel
gb.report2
gb.scanner
gb.sdl
gb.sdl.sound
gb.sdl2
gb.sdl2.audio
gb.settings
gb.signal
gb.term
gb.test
gb.util
gb.util.web
gb.v4l
gb.vb
gb.web
gb.web.feed
gb.web.form
gb.web.gui
gb.xml
gb.xml.html
gb.xml.rpc
gb.xml.xslt
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

Report (gb.report)

This class represent a report

This class inherits ReportSection.

This class can be used like an object by creating a hidden instance on demand.

This class is creatable.

This class acts like a read-only array.

Constants
Fill  
None  
Proportional  

Static methods
Main   This method is used when the report runs in the IDE as a startup class.

Properties
Autoresize   Returns or sets if the ReportLabel will automatically resize to fit its contents.
BackGround   Returns or sets the background color used by the control.
Border   Returns or sets the border of the control.
Children   Returns a collection of each control included in the container.
Count   Returns or set the number of section in the report
Data  
Debug   Returns or set if the reports are drawed in Debug mode.
Expand   Returns or sets if a control will expand if included in a container.
Fixed   Returns or sets if a control will be displayed each time it's parent is called
Font   Returns or sets the font used to draw text in the control.
Height   Returns or sets the height of the control.
Ignore   Returns or sets if a control must be ignored when its parent arranges its children.
Index  
Left   Returns or sets the position of the left border of the control relative to its parent.
Orientation   property Orientation As Integer Returns or sets the report layout orientation.
Padding   Returns or sets the distance that separates a child control from the border of the container.
PageCount   Returns the number of pages in the report
Paper   Return or set the kind of paper used for printing.
Resolution   Return or set the report resolution, in DPI (Dots Per Inches).
Scale   Change the drawing scale.
Spacing   Returns or sets the distance that separates children controls.
Text   Define the title of the section.
Top   Returns or sets the position of the top border of the control relative to its parent.
Visible   Indicates if the control is visible or not.
Width   Returns or sets the width of the control.
X   Returns or sets the position of the left border of the control relative to its parent.
Y   Returns or sets the position of the top border of the control relative to its parent.

Inherited properties
BoxShadow  
Brush   Returns or sets the brush used for drawing.
DataCount   Returns or set the number of repetitions required to read all data
DataIndex   Returns the value of the repeat count
ForceNewPage  
Id   Returns the handle of the control.
Name   Returns or sets the name of the control.
OnePiece   This property forces the contents of the container to be printed on the same page.
Parent   Returns the control container.
Range   Not activated yet
Report   Returns the report that contains the control.
Tag   Returns or sets the control tag.

Methods
Clear   Remove all elements of the current report.
Clone   Return a new instance of the current report
Layout   Force the layout or redo the layout calculations for the current report.
Paint   To draw the page.
Preview   To open a preview window displaying the current report.
Print   To print the report.
Refresh   Trigger a redraw of the control.

Inherited methods
Move   Moves and/or resizes the control.

Events
Open   Raised when the report is going to be visible for the first time.

Inherited events
AfterData  
BeforeData