vb@rchiv
VB Classic
VB.NET
ADO.NET
VBA
C#
Brandneu! sevEingabe v3.0 - Das Eingabecontrol der Superlative!  
 vb@rchiv Quick-Search: Suche startenErweiterte Suche starten   Impressum  | Datenschutz  | vb@rchiv CD Vol.6  | Shop Copyright ©2000-2025
 
zurück

 Sie sind aktuell nicht angemeldet.Funktionen: Einloggen  |  Neu registrieren  |  Suchen

VB.NET - Fortgeschrittene
Re: dll? 
Autor: Sabayon
Datum: 01.12.07 16:06

...
Private Sub ShowButton(ByVal BtnType As MessageBoxButtons)
 
        BSize = New Size(58, 24)
 
        If BtnType = MessageBoxButtons.AbortRetryIgnore Then
            BSize = New Size(58, 24)
            CmdAbort = New Button
            Dim BLocation As New Point(248, 120)
            Call CommanSet(CmdAbort, "&Abort", BSize, BLocation)
            BLocation = Nothing
            CmdRetry = New Button
            BLocation = New Point(308, 120)
            Call CommanSet(CmdRetry, "&Retry", BSize, BLocation)
            BLocation = Nothing
            CmdIgnore = New Button
            BLocation = New Point(368, 120)
            Call CommanSet(CmdIgnore, "&Ignore", BSize, BLocation)
            BLocation = Nothing
        End If
 
      If BtnType = MessageBoxButtons.OK Then
            BSize = New Size(58, 24)
            CmdOk = New Button
            Dim BLocation As New Point(368, 120)
            Call CommanSet(CmdOk, "&Ok", BSize, BLocation)
            BLocation = Nothing
            Exit Sub
        End If
 
        If BtnType = MessageBoxButtons.OKCancel Then
            BSize = New Size(58, 24)
            CmdYes = New Button
            Dim BLocation As New Point(308, 120)
            Call CommanSet(CmdYes, "&Ok", BSize, BLocation)
            BLocation = Nothing
            CmdNo = New Button
            BLocation = New Point(368, 120)
            Call CommanSet(CmdNo, "&Cancel", BSize, BLocation)
            BLocation = Nothing
            Exit Sub
        End If
 
        If BtnType = MessageBoxButtons.RetryCancel Then
            BSize = New Size(58, 24)
            CmdYes = New Button
            Dim BLocation As New Point(308, 120)
            Call CommanSet(CmdYes, "&Retry", BSize, BLocation)
            BLocation = Nothing
            CmdNo = New Button
            BLocation = New Point(368, 120)
            Call CommanSet(CmdNo, "&Cancel", BSize, BLocation)
            BLocation = Nothing
            Exit Sub
        End If
 
        If BtnType = MessageBoxButtons.YesNo Then
            BSize = New Size(58, 24)
            CmdYes = New Button
            Dim BLocation As New Point(308, 120)
            Call CommanSet(CmdYes, "&Yes", BSize, BLocation)
            BLocation = Nothing
            CmdNo = New Button
            BLocation = New Point(368, 120)
            Call CommanSet(CmdNo, "&No", BSize, BLocation)
            BLocation = Nothing
            Exit Sub
        End If
 
        If BtnType = MessageBoxButtons.YesNoCancel Then
            BSize = New Size(58, 24)
            CmdYes = New Button
            Dim BLocation As New Point(248, 120)
            Call CommanSet(CmdYes, "&Yes", BSize, BLocation)
            BLocation = Nothing
            CmdNo = New Button
            BLocation = New Point(308, 120)
            Call CommanSet(CmdNo, "&No", BSize, BLocation)
            BLocation = Nothing
            CmdCancel = New Button
            BLocation = New Point(368, 120)
            Call CommanSet(CmdCancel, "&Cancel", BSize, BLocation)
            BLocation = Nothing
        End If
 
    End Sub
 
    ....
alle Nachrichten anzeigenGesamtübersicht  |  Zum Thema  |  Suchen

 ThemaViews  AutorDatum
dll?1.496Sabayon01.12.07 16:05
Re: dll?922Sabayon01.12.07 16:06
Re: dll?859Sabayon01.12.07 16:06
Re: dll?1.039Sabayon01.12.07 16:07
Re: dll?885cookstdu01.12.07 17:13
Ist das dein code ?817mikeb6901.12.07 19:28
Re: Ist das dein code ?789Jan Bender01.12.07 19:49
Re: Ist das dein code ?791Sabayon02.12.07 01:44
Re: Ist das dein code ?1.092mikeb6902.12.07 09:09
Re: Ist das dein code ?913Sabayon02.12.07 09:33
Re: Ist das dein code ?953GPM02.12.07 11:59
Re: Ist das dein code ?885spike2403.12.07 09:09
aber nicht echt aero^^903Sabayon03.12.07 14:57
Re: aber nicht echt aero^^811Jan Bender03.12.07 16:12
Re: dll?774Sabayon04.12.07 11:25

Sie sind nicht angemeldet!
Um auf diesen Beitrag zu antworten oder neue Beiträge schreiben zu können, müssen Sie sich zunächst anmelden.

Einloggen  |  Neu registrieren

Funktionen:  Zum Thema  |  GesamtübersichtSuchen 

nach obenzurück
 
   

Copyright ©2000-2025 vb@rchiv Dieter Otter
Alle Rechte vorbehalten.
Microsoft, Windows und Visual Basic sind entweder eingetragene Marken oder Marken der Microsoft Corporation in den USA und/oder anderen Ländern. Weitere auf dieser Homepage aufgeführten Produkt- und Firmennamen können geschützte Marken ihrer jeweiligen Inhaber sein.

Diese Seiten wurden optimiert für eine Bildschirmauflösung von mind. 1280x1024 Pixel