|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Positioning a Web Control - RuntimeHello Group,
How do you position a web control you create at runtime? I thought: ===================================== Dim Label1 as Label = New Label Me.Controls.Add(Label1) Me.Controls.Item(Label1).Location(x,y) ===================================== I thought that would be spiffy. Could anyone help with my venture? Thank you, Glenn Glenn,
In this message is a sample from me. http://groups-beta.google.com/group/microsoft.public.dotnet.languages.vb/msg/a3e86e6a07ea54b0 I hope this helps, Cor Hi Cor,
I liked your sample, it worked well (had a couple typos). The only thing bothering me is that one still has to position a control (Panel) at design time. I'm thinking there has to be a way to create a new control then dictate the position of which it is to reside on the form. And hopefully in Absolute positioning instead of Layout positioning. Do you, or anyone, know if this is possible. Thank you again Cor. Glenn "Cor Ligthert" <notmyfirstn***@planet.nl> wrote in message http://groups-beta.google.com/group/microsoft.public.dotnet.languages.vb/msg/a3e86e6a07ea54b0news:OryKuO1PFHA.3688@TK2MSFTNGP10.phx.gbl... > Glenn, > > In this message is a sample from me. > > Show quoteHide quote > > I hope this helps, > > Cor > > |
|||||||||||||||||||||||