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. C#
  4. Alligning Dynamic Radio button [modified]

Alligning Dynamic Radio button [modified]

Scheduled Pinned Locked Moved C#
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.
  • B Offline
    B Offline
    B87
    wrote on last edited by
    #1

    Hi guys, I need to leave space or newline between radio button which is dynamically created but i cant do this any suggestions for ths prob..... 0-->radiobtn 0 1 0 2 0 3 I need like this, 0 1 0 2 0 3

    modified on Wednesday, November 12, 2008 9:22 AM

    A S 2 Replies Last reply
    0
    • B B87

      Hi guys, I need to leave space or newline between radio button which is dynamically created but i cant do this any suggestions for ths prob..... 0-->radiobtn 0 1 0 2 0 3 I need like this, 0 1 0 2 0 3

      modified on Wednesday, November 12, 2008 9:22 AM

      A Offline
      A Offline
      Andrew Rissing
      wrote on last edited by
      #2

      Depends on your environment. If you're in ASP.NET, just include a <br>, <p>, etc. or perhaps use a table to build up the radio buttons. If you're in WinForms, use a TableLayoutPanel (if .NET 2.0+) or docking perhaps. You've got many options really in either environment. Think about how you would do it statically and then build code to replicate that on the fly.

      1 Reply Last reply
      0
      • B B87

        Hi guys, I need to leave space or newline between radio button which is dynamically created but i cant do this any suggestions for ths prob..... 0-->radiobtn 0 1 0 2 0 3 I need like this, 0 1 0 2 0 3

        modified on Wednesday, November 12, 2008 9:22 AM

        S Offline
        S Offline
        ScottM1
        wrote on last edited by
        #3

        Set the position(X,Y) of the radio buttons on your form. Perhaps increment the Y value by 10 for each radio button created but leave the X value the same.

        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