Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Settings Dialog



Hello All

I am linking to the QT com object from Delphi and trying to save the
settings to an xml file. However when running the following code:

    	if QTControl1.Movie.canExport then begin
            qt := QTControl1.QuickTime;
            if qt.Exporters.Count = 0 then
                qt.Exporters.Add;

            exp := qt.Exporters.Item[1];
            exp.TypeName := 'QuickTime Movie';
            exp.SetDataSource(QTControl1.Movie);
            exp.ShowSettingsDialog;
            sett := exp.Settings;
	end

When the settings dialog is shown, I have to kill the app via the
debugger. I cannot click on any buttons at all even though the settings
window is in focus. Maybe I am not doing the proper thing here? What I
need to be able to do is to show the normal export dialog, allow the
user to set it as required, and then on exit, capture the settings and
save them to a file.

I got the above code from an XSI blog.
 
Zahir Lalani 


 


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.