--- In [email protected], "entropyreduction" <[EMAIL PROTECTED]> wrote: > > Further thought: does <alt>-F4 work for e.g. > dialogPluginDemo1.powerpro from distro? > > Does on my system.
That one, the script destroys the dialog on Cancel. My Cancel hides the dialog without destroying it. Pressing Alt+F4 runs the cancel script already. Pressing the keys does make the dialog vanish. It is on reshowing the dialog that its apparent that its been damaged. After that, it has to be destroyed and re created. If I make the cancel script the dialog's script to call, (and get rid of the "cancel" bit on the quit button) the cancel script is not getting run. The dialog is not disappearing but it is getting damaged. Moving the mouse over the elements makes them vanish. With the exception of the edit control and combo box (they remain visible and operable - but the responses stop working). I'll play with it some more. Maybe action-on-close could run something that destroys it (if ESC and Quit button would still work for for hiding only -- that's not what the doc says tho). Regards, Sheri > > If it doesn't on yours, something icky happening > > > --- In [email protected], "entropyreduction" > <alancampbelllists+yahoo@> wrote: > > > > --- In [email protected], "Sheri" <sherip99@> wrote: > > > > > > Have a cancel item that hides my dialog; all works well if I use > > > the ESC key or click my quit button to trigger it. But if I use > > > Alt+F4, the button images, dialog colors and all responses are > > > missing when the dialog is redisplayed. Adding zero as target for > > > the hide/shows makes no difference. Scripttrace shows that the > > > same lines are being executed for ESC vs Alt+F4, but in one case > > > the buttons are still functional while in the other they are > > > absent (with the exception of their their borders). > > > > Does your dialog.define statement have a <script_to_call> > > argument? If not, try making it call to function that does same > > as what you do on cancel. > > > > If that don't work, email me the script. > > >
