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 (gb.form)

This class allows to implement automatic completion of text field.

This class is just a template: you create an actual automatic completion by inheriting it and overriding its methods.

Cette classe est instanciable.

Propriétés
Delay   Return or set the delay in milliseconds between a keypress and showing the completion popup. The default is 350.
Editor   The TextBox or TextArea to offer completions for.
Icons   The array of icon names to be displayed in the popup box next to the completion suggestions in the List property. The names are looked up in the Picture cache.
List   The array of completion suggestions in the popup box.
Start   The character position inside the Editor at which the popup list will be displayed.

Méthodes
Close   Closes the completion popup.
Fill   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.
Open   Opens the completion popup.

Evénements
Activate   Raised when a completion has been chosen from the list popup.

See also

FileCompletion