Textbox on Panel Control - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Textbox on Panel Control

G.ManivannanG.Manivannan Posts: 43Member
Hai,

I am Working on Vb.Net 2005.
I want create 5 textbox and 1 panel control at the runtime.
And then I need that 5 textboxes on the Panel control.
Help me to solve this problem.

Like this I had already done Radiobutton on the Panel control.It is perfectly working.

Same type of coding only I had used. But Textbox is not creating.
G.Manivannan, M.Sc.,[it],
VBA Programmer,
AKUVA Infotech, Bangalore.

Comments

  • seancampbellseancampbell Pennsylvania, USAPosts: 684Member ✭✭✭
    Try this:

    [code]
    Dim TextBox1 as TextBox
    Dim TextBox2 as TextBox
    Dim TextBox3 as textBox
    Dim pnlPanel as Panel

    pnlPanel.Controls.Add(TextBox1)
    pnlPanel.Controls.Add(TextBox2)
    pnlPanel.Controls.Add(TextBox3)
    [/code]
Sign In or Register to comment.