Hi NUG!
Today I have tried to find a bug in my app, and after about 6
hours ... I get it.
Yesterday i wrote some Undo/Redo stuff that looks to work nice, until
I begin to use command+Z.. (I used the mouse and menu items before)
Sometimes it works and sometimes not.
The first time i want to do Undo, I have to press command+Z twice...
strange..
In my app I have an editor window and then a floating window with
about 60 bevelbuttons on an PagePanel. When I click on an button i
insert some text to the Editor.
A normal behavior is to click on an button and then.. hmm wrong
button... and press command+z to undo, but this not working. But i
found when i move the mouse outside the Floating palette it works
also the first time! (So when you have the mouse cursor inside the
floating windows it is not working..)
The problem is that i have some boolean variables UndoOK and RedoOK,
that i set just after the insertion of text and then i check these
in the enablemenuitems.
When I press the apple command key, the enablemenuitems should be
fired, but when i have the mouse cursor inside the floating window it
is NOT.. I have to move the mouse cursor outside the floating
window!! (Or is just the command key not activated??)
This is a very strange bug for me, and i am looking for some
workaround. Any ideas??
Thx,
Sven E
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>