VB 4/6- und VBA-Forum - Beitragsübersicht -
Von VBangel
Datum 14. Juni 2018 um 09:17:21
Frage Hallo,
ich wollte 10 Labels untereinander zur Laufzeit erstellen und das 11. Label soll neben LblOutSide(0) erscheinen und dann wieder 10 Labels untereinander usw.
Private Sub LblTextOK_Click()
If los < 49 Then 'Anzahl auf 50 begrenzen
If los < 9 Or los < 19 Then '<<<< soll die Anzahl festgelegt werden aber ich bekomms nicht hin :-(
If los = LblOutSide.UBound And LblOutSide(los).Caption <> "" Then
Load LblOutSide(los + 1)
LblOutSide(los + 1).Move LblOutSide(los).Left, LblOutSide(los).Top + LblOutSide(los).Height + 120
LblOutSide(los + 1).Caption = ""
LblOutSide(los + 1).Visible = True
End If
End If
If los = 9 Then
If los = LblOutSide.UBound And LblOutSide(los).Caption <> "" Then
Load LblOutSide(los + 1)
LblOutSide(los + 1).Move LblOutSide(los).Left + LblOutSide(los).Width + 120, LblOutSide(0).Top
LblOutSide(los + 1).Caption = ""
LblOutSide(los + 1).Visible = True
End If
End If
End If
LblTextOK.Visible = False: LblTextCancel.Visible = False: TxtOutSide.Visible = False
End Sub
Danke
[ Antwort schreiben | Zurück zum VB 4/6- und VBA-Forum | Forum-Hilfe ]
Antworten
VB6: Label anordnen - VBangel 14. Juni 2018 um 09:17:21
Re: Label anordnen - Neptun 14. Juni 2018 um 18:50:44
Re: Label anordnen - VBangel 14. Juni 2018 um 19:56:57

Ihre Antwort
(Nick-)Name   Wichtige Informationen zur Namensangabe
E-Mail (opt.)  Wichtige Informationen zur Angabe einer eMail-Adresse
Thema   Wichtige Informationen zur Angabe eines Themas
Betrifft (IDE)  Visual Basic 6 (*.exe)
Ihre Antwort
Smilies
Mehr...
FettKursivUnterstrichen   Übersicht der Tipp-KürzelÜbersicht der Projekt-KürzelÜbersicht der Bücher-Kürzel 
Homepage
Titel
Root-Smilies              
             
             
[ Zurück zum VB 4/6- und VBA-Forum | Forum-Archiv | Forum-Hilfe | Chat ]

Zum Seitenanfang

Startseite | VB-/VBA-Tipps | Projekte | Tutorials | API-Referenz | Komponenten | Bücherecke | Gewinnspiele | VB.Net | .Net-Forum | DirectX | DirectX-Forum | Chat | Ausschreibungen | Links | Suchen | Stichwortverzeichnis | Feedback | Impressum

Seite empfehlen Bug-Report
Letzte Aktualisierung: Sonntag, 13. Dezember 2015