Results 1 to 2 of 2

Thread: Making a shape's color green

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2000
    Posts
    879

    Angry

    This might sound dumb but I couldn't get it to work. When u click on a button I want it to make shape2 green
    I think it should go like this or something ( correct me if I'm wrong)

    Code:
    Shape2.FillColor = clgreen
    Shouldn't that work, what am i doing wrong!
    Visual Basic 6.0
    Visual C++ 5
    Delphi 5


  2. #2
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649
    Code:
    Shape2.FillColor = vbGreen
    Remember to set the FillStyle property to Solid.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width