Results 1 to 4 of 4

Thread: how to change colors

  1. #1

    Thread Starter
    Hyperactive Member ravi15481's Avatar
    Join Date
    Aug 2002
    Location
    INDIA
    Posts
    421

    how to change colors

    hi friends,

    how to change/replace the colors in a image. the image is there in the image box.

    thanx,
    A good friend...

  2. #2
    Hyperactive Member AvisSoft's Avatar
    Join Date
    Sep 2002
    Location
    Chandigarh
    Posts
    459
    Are you refering to backcolor then it would be like:

    Code:
    Image1.BackColor = vbGreen
    Tapan Bhanot,
    CEO, Avis Software.
    Website: www.avissoftware.com

  3. #3

    Thread Starter
    Hyperactive Member ravi15481's Avatar
    Join Date
    Aug 2002
    Location
    INDIA
    Posts
    421
    sorry friend,
    i meant the color in the image for example there is green color in the image then whereever green color is there in the image i want it to replace with red.
    anyway do u think a person working on vb doesn't even know how to use the backcolor property.

    thanx for ur quick response.
    bye,
    A good friend...

  4. #4
    Member
    Join Date
    Apr 2002
    Location
    QLD, AUS
    Posts
    50
    wat color r u trying to change??

    r u trying to mask the image (omit the backgroud color of the image) so that it matches the controls color??

    .BackColor
    .ForeColor
    .FillColor
    .MaskColor
    .BorderColor

    r the properties to change different parts of the color of a visual object.

    .UseMaskColor
    .Style
    .FillStyle
    .Palette
    .PaletteMode
    .DrawStyle
    .DrawMode

    these properties may also effect the way color gonna printed in a object.

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