Positioning a Web Control - Runtime

  • Thread starter Thread starter Glenn T. Kitchen
  • Start date Start date
G

Glenn T. Kitchen

Hello 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
 
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
 
Back
Top