Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: measurement units


Message #1 by "David Adames" <david@p...> on Sun, 27 Oct 2002 01:07:53 -0500
Hi All,

I'm using Win2k, VS.net w/VB.
In a <div> I'm dynamically creating buttons and I want them to display one
after the other horizontally. In pseudo code I'd say...

left property of current button = left property of previous button + width
of previous button

 E.g.
dim left as SomeType = 0

With myButton
	.Width = Unit.Pixel(75)
	.Style("Left") = "0px" + left
	left = .Style("Left") + .Width
End with

Unfortunately, Unit.Pixel(75) and "0px" are incompatible.  How can I solve
this?

Thank you,
David X


  Return to Index