Using splitters is not complicated as it sounds. Here is an example:
1. Draw a panel on the form
2. Draw a textbox on the panel ( TextBox1.width is ( 1/2 Panel1.width ) )
3. Set TexBox1's Dock property to Left
4. Draw a splitter on the panel and set its Dock property to Left
5. Run Your Application
6. Now resize your TextBox1 by dragging the splitter
The splitcontainer in VS 2005 is also very helpful.
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire