Gambas Documentation
Aperçu du Langage
À traduire
Code Snippets
Comment faire ...
Compilation et installation
Composants
gb
gb.args
gb.cairo
gb.clipper
gb.complex
gb.compress
gb.crypt
gb.db
gb.db.form
gb.dbus
gb.debug
gb.desktop
gb.desktop.gnome.keyring
gb.eval
gb.eval.highlight
gb.form
_DateChooser_Colors
_IconPanelContainer
_TabPanelContainer
_WizardContainer
Balloon
ButtonBox
ColorButton
ColorChooser
DateBox
DateChooser
DirChooser
DirView
Expander
FileChooser
FileView
FontChooser
IconPanel
InputBox
ListContainer
MaskBox
MenuButton
Message
SidePanel
Stock
TableView
TabPanel
ToolPanel
ValueBox
Wizard
gb.form.dialog
gb.form.editor
gb.form.mdi
gb.gmp
gb.gsl
gb.gtk
gb.gtk3
gb.gui
gb.image
gb.image.effect
gb.image.imlib
gb.image.io
gb.inotify
gb.libxml
gb.media
gb.mysql
gb.net
gb.net.curl
gb.net.smtp
gb.openal
gb.opengl
gb.opengl.glsl
gb.opengl.glu
gb.opengl.sge
gb.option
gb.pcre
gb.pdf
gb.qt4
gb.qt4.ext
gb.qt4.opengl
gb.qt4.webkit
gb.qt5
gb.qt5.opengl
gb.report
gb.scanner
gb.sdl
gb.sdl.sound
gb.settings
gb.signal
gb.util
gb.util.web
gb.v4l
gb.vb
gb.web
gb.web.feed
gb.xml
gb.xml.html
gb.xml.rpc
gb.xml.xslt
Controls pictures
Derniers changements
Dépôt d'applications
Documentation de l'Environnement de développement
Documentation des développeurs
Documents
Indenter
Index de tous les Documents
Index du langage
Lexique
LISEZ-MOI
Manuel du wiki
Messages d'erreur
Tutoriels
Wiki License

Completion.Fill (gb.form)

Sub Fill ( Text As String, Explicit As Boolean )

  • Text: the initial text to complete.

  • Explicit: this argument is used by the code inside the Completion class to indicate that Fill has been called from the Open method.

This method must be reimplemented by all classes which inherit Completion. Fill is called whenever the completion popup must be displayed. You are given an initial string Text and have to fill the List property with all completions of Text that apply to your specific completion class. For example, FileCompletion fills List with all files whose path starts with Text.

Additionally, Icons specifies icons which are displayed next to each completion in the popup. Using Start, you can fine-tune where the popup should be displayed.

See also