-
Sizable Text in TextForm
Hello
I am using a simple form with no objects on it.
Now I need a function to add a TextField (like any painting program) which the user can edit via ContextMenu.
There are two problems:
1.) Which object would be the best for such an operation?
2.) The TextField should be sizeable via mouse. And the text that is written by the user should increase according to the size of the TextField. I know I should use the OnResize-method, but I don't have a clue on how to implement this method.
So if anyone could help me out.
All I need is something to start with.
Thanks
-
Hello,
anyone? This is important for me.
So please suggest something.
-
ha so what you want is something like mspaint or other programs? a text field that expands as you type?:D heh I dont think anyone would write THAT for you. I actually wanted to do the same thing a while ago.
hmm maybe you could use a borderless textbox and check the TextChanged event. You could resize it if the text lenght is too big
-
Hello,
First of all:
No, the field should not expand as you type the text, but the text (already typed in) should expand as you resize the text box via mouse in runtime.
Second:
A borderless TextField is not resizable, due to invisibility of the border. Or am I wrong?
Third:
I don't want the others to code it for me, I just want some suggestions on how to start.
It's just because I am a Newbie in VB (.NET) and I don't have a clue on where to start.
But thanks for the reply anyway.