G
Guest
How can I measure the lenght of a text from a TextBox (in pixels) ?
I want to measure in KeyPress event the lenght of the text typed in a
textbox to put a listbox at the end of the text (something like IntelliSense).
I read about SizeF and MeasureString but I don't have a drawing object to
use in a textbox.
I want to measure in KeyPress event the lenght of the text typed in a
textbox to put a listbox at the end of the text (something like IntelliSense).
I read about SizeF and MeasureString but I don't have a drawing object to
use in a textbox.