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. Circular Controll

Circular Controll

Scheduled Pinned Locked Moved Visual Basic
tutorial
6 Posts 2 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.
  • M Offline
    M Offline
    Mogtabam
    wrote on last edited by
    #1

    Hi All I Want To Create A Circular Control (In Visual Basic 6) Please Guide Me Tanks. Mogtabam

    T 1 Reply Last reply
    0
    • M Mogtabam

      Hi All I Want To Create A Circular Control (In Visual Basic 6) Please Guide Me Tanks. Mogtabam

      T Offline
      T Offline
      Tom Deketelaere
      wrote on last edited by
      #2

      don't know if it exists in vb6 but in .net this can be done with the region property see if vb6 has one to

      M 1 Reply Last reply
      0
      • T Tom Deketelaere

        don't know if it exists in vb6 but in .net this can be done with the region property see if vb6 has one to

        M Offline
        M Offline
        Mogtabam
        wrote on last edited by
        #3

        Hi & Tanks Please Guide Me In VB.NET (If Posible) Tanks. Mogtabam

        T 1 Reply Last reply
        0
        • M Mogtabam

          Hi & Tanks Please Guide Me In VB.NET (If Posible) Tanks. Mogtabam

          T Offline
          T Offline
          Tom Deketelaere
          wrote on last edited by
          #4

          this is how to do it in vb.Net Dim arrRegion As ArrayList 'fill the arraylist with points If Not arrRegion.Count = 0 Then Dim pntRegion(arrRegion.Count) As Point pntRegion = arrRegion.ToArray(GetType(Point)) Dim c As New System.Drawing.Drawing2D.GraphicsPath c.ClearMarkers() c.AddCurve(pntRegion) 'you can add other shapes If Not c Is Nothing Then Me.Region = New Region(c) 'here the control is redrawn with you'r points End If End If hope this helps

          M 1 Reply Last reply
          0
          • T Tom Deketelaere

            this is how to do it in vb.Net Dim arrRegion As ArrayList 'fill the arraylist with points If Not arrRegion.Count = 0 Then Dim pntRegion(arrRegion.Count) As Point pntRegion = arrRegion.ToArray(GetType(Point)) Dim c As New System.Drawing.Drawing2D.GraphicsPath c.ClearMarkers() c.AddCurve(pntRegion) 'you can add other shapes If Not c Is Nothing Then Me.Region = New Region(c) 'here the control is redrawn with you'r points End If End If hope this helps

            M Offline
            M Offline
            Mogtabam
            wrote on last edited by
            #5

            Hi & Tanks Tank You For Your Guides Mogtabam

            T 1 Reply Last reply
            0
            • M Mogtabam

              Hi & Tanks Tank You For Your Guides Mogtabam

              T Offline
              T Offline
              Tom Deketelaere
              wrote on last edited by
              #6

              always glad to help

              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