Ask a Question related to ASP.NET General, Design and Development.
-
Jerry #1
Getting the Width of a Text in Web
Getting the Width of a Text in Web
Like this:
dim x as integer
len = GetTheLength("MyBlaBla")
I try to do it this way with a Label but after a view thimes runnig the
thing it Crashes
by saying the Class allready exists...
Dim graph As System.Drawing.Graphics
Dim font As System.Drawing.Font
Dim label As New Windows.Forms.Label
Dim rect As New System.Drawing.SizeF
font = New System.Drawing.Font("verdana", 8)
graph = label.CreateGraphics <<<<<<<< There it crashes some times
(not evry time)
rect = graph.MeasureString("Bla", font)
graph.Dispose()
label.Dispose()
Jerry Guest
-
how to specify Text Input width in css
Hi, In our application we need to specify all TextInput wisths with samesize. How to write this in .css. my sample code: TextInput {... -
text adjusting table width
I have a table that I want to remain at a fixed width (I do not have it set to %), and I have 2 colums, the leftmost column being a sidebar, and a... -
width of the text box
Is there a way to set the width of the text box in EditItem? Thanks -
Radiobutton width, truncation of text
I'm dynamically creating a radiobutton using: createClassObject(mx.controls.RadioButton, rb1, 2, {label:"This is some really long text that won't... -
Width of sprite (text)
Hello I have a text box which is being swapped on a mouseUp of another member. The new text box is the wrong size, and I cannot seem to get it...



Reply With Quote

