Le 21 déc. 2012 à 21:24, Christian Schmitz a écrit: > Am 21.12.2012 um 16:00 schrieb Marnaud <[email protected]>: > >> Greetings, >> >> I'm trying to show previews using QuickLook using the code below. I couldn't >> find an example in the examples folder (I found one about QuickLook but it >> doesn't seem to be what I want). > > I just tried it in a little example. Works here in general.
Ok, since the beginning, I'm hesitating between the QLPreviewViewMBS and QLPreviewPanelMBS classes. The latter is the one I thought was the correct one, but the documentation says this about the QLPreviewViewMBS class: "If you want to show previews of files in your application, use this view.", which led me to think I was wrong and so I choose the QLPreviewViewMBS class. Now, I'm trying the QLPreviewPanelMBS class instead, since QLPreviewViewMBS just led to crashes. However, when I write QLPP1.currentPreviewItem=MyFile, RB tells me this method or property doesn't exist. As for the events called (in case the properties are read-only and I must pass the data only from the events), I get numberOfPreviewItems, to which I return UBound(AllMyFiles)+1, and then willLoadPreviewItem with the parameter (file) being nil. >> I can post the crash log if that's necessary. An idea? > > You can email it directly to me. Thanks. However, it's for the QLPreviewViewMBS try, is it worth submitting it? _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
