Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Expanding my form
Message
 
À
15/10/2004 09:12:20
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Divers
Thread ID:
00951692
Message ID:
00951721
Vues:
8
Maybe somtehing like this:
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        If Button1.Text = "Advanced >>" Then
            Me.Size = New Size(500, 500)
            Button1.Text = "Basic <<"
        Else
            Me.Size = New Size(300, 300)
            Button1.Text = "Advanced >>"
        End If
    End Sub

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Button1.Text = "Advanced >>"
    End Sub
>Hello,
>I have a form that I want to include "advanced" settings on. I would like to have an "advanced" button, and then have my form expand to show other controls. I have been unsuccessful at making this happen. Anybody ever do anything like this? TIA!
>
>
>-MAC
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform