|
Hello, I am looking for a way to resize a textBox or comboBox so it fits that size of the text that I add to it. For example, if I am doing a directory listing and add the path "C:\" the textBox would be just big enough to show that, but if the path was "C:\Folder\Folder2\Folder3\file", the textBox would expand to the new bigger size. I'm not too familiar with Windows Forms, but are there controls that exist already that can help me to do this? How about position of the textBox- can I keep it in the center of my Windows Form and expand it equally right and left? What keywords should I be searching for?
thanks, Tay
|