setting color

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ck123456
    New Member
    • Aug 2007
    • 13

    #1

    setting color

    hi..
    i set my form to be white color and when i use the g.clear() method to clear my g.drawstring, the color of my form will also be clear and it will become grey color which is the orignal color..is there any way to clear the form without affecting the color of my form??
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    Kindly pass few more details .BTW what is that g

    Comment

    • ck123456
      New Member
      • Aug 2007
      • 13

      #3
      hmmm i had set my form to be white at the backcolor property. my program is using g.DrawEllipse() to draw a circle. i need to clear the circle so that user can draw other things so i use the code
      g.Clear(SystemC olors.Control) . but when i click the button to clear the circle, my form which is white will become grey which is the default color.
      is there a way to clear the drawstring without affecting my form??

      Comment

      • debasisdas
        Recognized Expert Expert
        • Dec 2006
        • 8119

        #4
        Which version of VB you are using ? Is it VB 6.0 ?

        Comment

        • Killer42
          Recognized Expert Expert
          • Oct 2006
          • 8429

          #5
          Originally posted by debasisdas
          Which version of VB you are using ? Is it VB 6.0 ?
          No, that's definitely not VB6. It's one of the .Net versions.

          Comment

          Working...