Gambas France BETA

Connexion

Pas de compte ? Incription

ToggleButton :

-2- Wiki, Les Contrôles Principaux de Gambas :


Exemple d'utilisation de ToggleButton :





Exemple téléchargeable ici : ToggleButton

Le Code :



1
2
3
4
5
6
7
8
9
10
11
12
13
' Gambas class file

PUBLIC SUB tgbOnOff_Click()

IF tgbOnOff.Value = TRUE THEN tgbOnOff.Text = ("Enclenché" ELSE tgbOnOff.Text = ("Éteint")

END

PUBLIC SUB tbQuitter_Click()

ME.Close()

END


====================

Navigation :



<-- Accueil du WIKI : <--
<-- Contrôle par Contrôle <--
<-- Contrôles Principaux <--

====================

Documentation :



====================