Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form Location not working
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Titre:
Form Location not working
Divers
Thread ID:
00812222
Message ID:
00812222
Vues:
47
I want to create a form at a specific location.
Here is the code I am using, but the form does not show at the location I spoecified?
Dim xBalloon As Integer
Dim yBalloon As Integer
xBalloon = 0
yBalloon = 192

' create a form
Dim frm As Form
frm = New Form()
frm.Size = New Size(200, 100)
frm.Location = New Point(xBalloon, yBalloon)

' create a label for the form
Dim lbl As Label
lbl = New Label()
lbl.Text = Field.HelpText
lbl.Location = New Point(10, 10)

' add the label to the forms control collection
frm.Controls.Add(lbl)
frm.ShowDialog()
But it does not seem to take the frm.location settings.
What am I doing wrong?
thanks in advance.
- jim durkin

"The universe is a big place, perhaps the biggest." Kurt Vonnegut
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform