dynamic textbox

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • zoneal@yahoo.com

    dynamic textbox

    Anyone can help me how to do dynamic textbox appearance?
    need it for matrix data entry,
    suppose i enter 3 and 4 then the 3x4 textboxes will appear..

    thank you very much.

  • Mr Newbie

    #2
    Re: dynamic textbox

    Use the Visible property


    <zoneal@yahoo.c om> wrote in message
    news:1108664277 .649707.43200@o 13g2000cwo.goog legroups.com...[color=blue]
    > Anyone can help me how to do dynamic textbox appearance?
    > need it for matrix data entry,
    > suppose i enter 3 and 4 then the 3x4 textboxes will appear..
    >
    > thank you very much.
    >[/color]


    Comment

    • Herfried K. Wagner [MVP]

      #3
      Re: dynamic textbox

      <zoneal@yahoo.c om> schrieb:[color=blue]
      > Anyone can help me how to do dynamic textbox appearance?
      > need it for matrix data entry,
      > suppose i enter 3 and 4 then the 3x4 textboxes will appear..[/color]

      For a single textbox:

      \\\
      Dim txt As New TextBox()
      txt.Text = ...
      txt.Location = ...
      Me.Controls.Add (txt)
      ///

      You can add multiple textboxes using 'For...To' loops.

      --
      M S Herfried K. Wagner
      M V P <URL:http://dotnet.mvps.org/>
      V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

      Comment

      Working...