Le 22 déc. 2012 à 13:30, Marnaud a écrit:

> Well, I do that already. Once I call ReloadData, I get the event 
> NumberOfPreviewItems to which I return 1 (in my current test). However, no 
> further event occur and no window opens. Checking the QLPreviewPanelMBS 
> documentation, I can't find how to display the window nor how to know whether 
> it's shown or not; should I use some methods of the parent class (something 
> I'm never sure should be done in Cocoa, which is a bit foreign to me)?

Ok, the answer is yes (and now, I realise it was obvious). This is just like 
any regular window:
if QLPP1.Visible then
  QLPP1.Hide
Else
  QLPP1.Show
end if
And this calls the other relevant events.
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to