Bonjour,
Problème tout bête mais je ne trouve pas la solution (Recherche sur internet = néant, sans doute que j'utilise les mauvais mots).

Dans IDLE (Python 3.4 GUI - 32 bit), je lance le programme.
Fenêtre avec 23 zones de saisie : pour passer de zone en zone , je souhaite utiliser la tabulation (double flèches au clavier). Impossible : le curseur avance dans la zone comme si elle était infinie.

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
 
class FormulaireVierge(Frame):        
    # Structure de la base de données
    def __init__(self):
        Frame.__init__(self)
        self.saisie=" "
        #################################################################################################
        # Saisie du nom du produit
        self.Label1 = Label(self, text = ' ')
        self.Label1.grid (row=1)
        self.Label2 = Label(self, text = ' ')
        self.Label2.grid (row=2)
        self.Label3 = Label(self, text = 'Nom : ', font ="Arial 12")
        self.Label3.grid (row=3, column=1, padx=2, sticky = E)
        self.TravNom = Text(self, width=30, height=1, font ="Times 12")
 
 
        self.TravNom.grid (row=3, column=2, sticky=W)
 
        # Saisie du prix au kg
        self.Label5 = Label(self, text = 'Prix/kg : ', font ="Arial 12")
        self.Label5.grid (row=5, column=6, padx=2, sticky = E)
        self.TravPrixkg = Text(self, width=7, height=1, font ="Times 12")
        self.Label6 = Label(self, text = ' €')
        self.Label6.grid (row=5, column=9, padx=2, sticky = E)
 
 
        self.TravPrixkg.grid (row=5, column=8, sticky=W)
 
        # Saisie de la masse moleculaire
        self.Label7 = Label(self, text = 'Masse : ', font ="Arial 12")
        self.Label7.grid (row=6, column=6, padx=2, sticky = E)
        self.TravMasse = Text(self, width=7, height=1, font ="Times 12")
 
 
        self.TravMasse.grid (row=6, column=8, sticky=W)
Deux jours de perdus (sniff!). Qui pourra me conseiller, s'il vous plait? Merci d'avance
Luc