I'm getting a loadStructCallback and a scriptCallback, but not a
messageCallback when I drop a PNG file on the signed applet.
On Wed, Mar 16, 2011 at 5:50 PM, Paul Pillot <
[email protected]> wrote:
> Dear Jmolers,
> I am working with the signed applet. I have set up a message call back and
> a load structure call back. They work as expected as long as I load files
> with a "load ?" command for example.
> But, I tried to load a file by dragging a png file created by Jmol from a
> previous scene. The structure loads perfectly and the script runs itself as
> it should. But after that I can't get the messages from the applet, neither
> can I have access to the information that a new file has been loaded. I
> suspected that the state script embedded in the PNG file was to blame, so I
> tried to load a state script in my page with the "script ?" command, and it
> indeed gave the same result.
> The PickCallBack is not affected.
>
> I did not find any reference to a "set messageCallBack" function in the
> state file, so I don't know which piece of code might cause this. But I
> cannot envision neither a workaround, that is to say : how can I have access
> to the information that a state script has been loaded (or a png jmol file
> has been dragged on to the applet) ?
>
> Thanks
> -Paul
>
>
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
--
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107
If nature does not answer first what we want,
it is better to take what answer we get.
-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users