Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Expanding my form
Message
 
To
15/10/2004 09:12:20
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
00951692
Message ID:
00951721
Views:
7
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
Previous
Reply
Map
View

Click here to load this message in the networking platform