D
David
hello...
i coded these:
public class TextBoxBrowse : TextBox
{
public TextBoxImgBrowse () : base ()
{
Button b = new Button();
b.Size = new System.Drawing.Size(24, 21);
b.Dock = DockStyle.Left;
b.Text = "...";
b.Click += new EventHandler(b_Click);
this.Controls.Add (b);
}
}
so as you see the standart textbox will now have button on it, the problem
is what in some cases text will be hidden under thet button, how can i solve
that problem, then staying under textbox, i mean that TextBoxBrowse must be
declared like "TextBoxBrowse : TextBox"
i coded these:
public class TextBoxBrowse : TextBox
{
public TextBoxImgBrowse () : base ()
{
Button b = new Button();
b.Size = new System.Drawing.Size(24, 21);
b.Dock = DockStyle.Left;
b.Text = "...";
b.Click += new EventHandler(b_Click);
this.Controls.Add (b);
}
}
so as you see the standart textbox will now have button on it, the problem
is what in some cases text will be hidden under thet button, how can i solve
that problem, then staying under textbox, i mean that TextBoxBrowse must be
declared like "TextBoxBrowse : TextBox"