A voir également:
- Textbox dans une frame
- Good frame - Télécharger - Photo & Graphisme
- Photo frame studio - Télécharger - Retouche d'image
- Frame network 2.0 - Télécharger - Divers Utilitaires
- Frame host ne répond pas - Forum Virus
- Digital photo frame mode d'emploi - Forum Photo numérique
4 réponses
thev
Messages postés
1961
Date d'inscription
lundi 7 avril 2008
Statut
Membre
Dernière intervention
16 février 2025
706
23 déc. 2016 à 15:23
23 déc. 2016 à 15:23
Ceci devrait mieux fonctionner
Set Frame1 = Me.Controls.Add("forms.Frame.1")
With Frame1
.Caption = "TRACABILITE"
.Font.Bold = True
.Left = 6
.Top = 126
.Width = 114
.Height = 100
End With
For i = 1 To nbcells
Set Obj = Frame1.Controls.Add("forms.TextBox.1")
With Obj
.Name = "TextBox" & i
.Object.Value = " "
.Left = PosX
.Top = 30 * ((i - 1) Mod 10) + 40
.Width = 100
.Height = 20
End With
Next i
thev
Messages postés
1961
Date d'inscription
lundi 7 avril 2008
Statut
Membre
Dernière intervention
16 février 2025
706
Modifié par thev le 23/12/2016 à 10:29
Modifié par thev le 23/12/2016 à 10:29
Bonjour,
Essayer ceci
Essayer ceci
--
Set Obj = Me.Controls.Add("forms.Frame1")
With Obj
.Caption = "TRACABILITE"
.Font.Bold = True
.Left = 6
.Top = 126
.Width = 114
.Height = 100
End With
Set Obj = Me.Frame1.Controls.Add("forms.TextBox0")
With Obj
.Name = "TextBox" & i
.Object.Value = " "
.Left = PosX
.Top = 30 * ((i - 1) Mod 10) + 40
.Width = 100
.Height = 20
End With
Merci thev pour ton poste, mais ta proposition ne fonctionne pas.
Cette ligne créer une erreur si je laisse TextBox0
J'ai testé avec TextBox.1 plus d'erreur, mais les TextBox ne s'affichent plus.
Je continu à chercher de mon coté.
A vous lire, merci pour votre aide.
Cette ligne créer une erreur si je laisse TextBox0
Set Obj = Me.Frame1.Controls.Add("forms.TextBox0")
J'ai testé avec TextBox.1 plus d'erreur, mais les TextBox ne s'affichent plus.
Je continu à chercher de mon coté.
A vous lire, merci pour votre aide.