left property

  • Thread starter Thread starter Frank
  • Start date Start date
F

Frank

Hi,
probably a stupid question, but I can't find an answer on the Inet.
I'm making my first webappl with VB.NET. I put a label and textbox on a
form.
When I look at the properties of the label and textbox I'm missing 'left'. I
see width and height, but where is left?
Thanx
Frank
 
* "Frank said:
probably a stupid question, but I can't find an answer on the Inet.
I'm making my first webappl with VB.NET. I put a label and textbox on a
form.
When I look at the properties of the label and textbox I'm missing 'left'. I
see width and height, but where is left?

I am not familiar with Web Forms, but when using a flow layout,
absolute positioning doesn't make sense. Maybe you can use CSS to
position the controls ('<... style="left: 100px; top: 20px">...</...>').
 
Hi Frank,

In VB.net webpages version 2002 and 2003 you can use a grid and flow layout.

In flowlayout you use when you not are using "absolute" mostly tables to
place controls.

In a grid layout you can use by instance this.

TextBox1.Attributes("style") = "Z-INDEX: 102; " & _
"LEFT: 384px; POSITION: absolute; TOP: 56px"

I hope this gives an answer?

Cor
 
Cor Ligthert said:
Hi Frank,

In VB.net webpages version 2002 and 2003 you can use a grid and flow layout.

In flowlayout you use when you not are using "absolute" mostly tables to
place controls.

In a grid layout you can use by instance this.

TextBox1.Attributes("style") = "Z-INDEX: 102; " & _
"LEFT: 384px; POSITION: absolute; TOP: 56px"

I hope this gives an answer?

Cor
It does. I noticed the left in HTML. Isn't it strange not to be able to set
it in a property when it is available in html?
Thanx
Frank
 
Back
Top