Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/VCL/Graphics    [ Add a report in this area ]  
Report #:  11837   Status: Open
Allow access to registered TGraphic derived classes
Project:  Delphi Build #:  9.0
Version:    9.0 Submitted By:   David Berneda
Report Type:  Suggestion / Enhancement Request Date Reported:  4/5/2005 1:30:26 AM
Severity:    Commonly encountered problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All platforms Internal Tracking #:   221789
Resolution: Deferred to Next Rel (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: (5 Total Ratings)
4.40 out of 5
Total Votes: 96
Graphics.pas maintains a private list of registered TGraphic derived classes
that are currently in use on a given running application and at design-time under the IDE (for example you can have installed or used TJPEGImage, TPNGImage, TGIFImage, etc, etc).

The wish is to have access to the list of classes, or to the private "FileFormats" variable in Graphics.pas, or some public method that can enumerate those classes.

One example of use would be showing a dialog to export a picture to any of the registered graphic formats, without having to explicitely to declare which formats or use the units that register them.

Steps to Reproduce:

Will DeWitt Jr. at 5/23/2005 2:29:14 PM -
This would be very useful. Up till now I've been modifying Graphics.pas and moving things around to make it work how I like. :P Which, BTW, is also a good workaround if you're not using packages.

BTW: This is the second dupe of an earlier report:

QC 4768

Registered User at 11/26/2008 3:08:01 AM -
There is also a (more comprehensive) duplicate of this report: QC 57402. Voting here as there are more votes existing.

It would be great if you Codegear/Embarcadero guys could invest some minutes on this issue.

Server Response from: ETNACODE01