VoyForums
[ 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: 123456[7]8910 ]


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

Date Posted: 18:05:44 09/05/01 Wed
Author: Michel
Subject: Re: Questions
In reply to: Konstantin 's message, "Questions" on 18:31:50 09/04/01 Tue


Hi Konstantin,

There is not particular reason why the methods are static. I don't think every method should be virtual, as some methods may not be intended to be overriden. Just let me know the methods you make virtual, and I will ensure the next release has the methods virtual.

To determine the type of image, there is a function in EnDiGrph unit which returns the appropriate TDibGraphic derived class to load a particular file given the filename.
See EnDiGrph FindDibGraphicClass and NewDibGraphic.

Best regards,

Michel



>I download Envision library and have two questions:
>
>1. Why all methods in TImageScrollBox are static?
>I want to make class derived from TImageScrollBox.
>
>2. Is there any way to automaticly determine type of
>image?
>I need to load image from stream and I don't know what
>type is it, tiff, bmp, jpg or some esle...
>
>Konstantin

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


Replies:


[ 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.