[ Show ]
Support VoyForums
[ Shrink ]
VoyForums Announcement: Programming and providing support for this service has been a labor of love since 1997. We are one of the few services online who values our users' privacy, and have never sold your information. We have even fought hard to defend your privacy in legal cases; however, we've done it with almost no financial support -- paying out of pocket to continue providing the service. Due to the issues imposed on us by advertisers, we also stopped hosting most ads on the forums many years ago. We hope you appreciate our efforts.

Show your support by donating any amount. (Note: We are still technically a for-profit company, so your contribution is not tax-deductible.) PayPal Acct: Feedback:

Donate to VoyForums (PayPal):

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 12345678910 ]

[ Next Thread | Previous Thread | Next Message | Previous Message ]

Date Posted: 18:17:10 10/17/05 Mon
Author: Brian
Subject: TImageScrollBox.DisplayedGraphic.Canvas.Pen.Color change from 2.0.1 to 2.5

I just recently (finally) upgraded from Envision 2.0.1 to 2.5 and everything is working great. However, I've noticed something that has changed and wonder if its intentional or not, and whether there is a work around.

I'm using TImageScrollBox to load jpg images that are in ifGray256 image format. I am then using the TImageScrollBox.DisplayedGraphic.Canvas property to highlight (draw boxes around) certain areas in the image using the Canvas MoveTo and LineTo functions which use the Canvas.Pen Width, Style, and Color to draw. In 2.0.1 I can set the Pen.Color property to a non-gray color (red for example) and the line would be drawn in the desired color. It appears that in 2.5 (perhaps because the underlying image is ifGray256), that anything drawn on the canvas is converted to gray. Is there a work around for this?

[ Next Thread | Previous Thread | Next Message | Previous Message ]

Post a message:
This forum requires an account to post.
[ Create Account ]
[ Login ]
[ Contact Forum Admin ]

Forum timezone: GMT-5
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.