Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. how to add the controls to the form dynamically?

how to add the controls to the form dynamically?

Scheduled Pinned Locked Moved Visual Basic
tutorialquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Ron S
    wrote on last edited by
    #1

    hi there , how to add the controls while the loading of the form . the number of each and every control will be dynamic. thanks in advance. bharath.s

    C I 2 Replies Last reply
    0
    • R Ron S

      hi there , how to add the controls while the loading of the form . the number of each and every control will be dynamic. thanks in advance. bharath.s

      C Offline
      C Offline
      codeadair
      wrote on last edited by
      #2

      write code when you want to add Adair

      1 Reply Last reply
      0
      • R Ron S

        hi there , how to add the controls while the loading of the form . the number of each and every control will be dynamic. thanks in advance. bharath.s

        I Offline
        I Offline
        isroavi
        wrote on last edited by
        #3

        Dim Lbl(1 As Label Lbl1 = New Label() With Lbl1 .SendToBack() .AutoSize = True .Location = New System.Drawing.Point(iX, iY) .Text = finsSubjReg.dsStudCls.Tables(0).Rows(iCtr).Item("cls_type_code") End With Me.Controls.Add(Lbl1) raj

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups