Actually, I was not aware you could disable system menu items. It may be that
LC is greying out the items, but still handling the hot keys. I suppose there
ought to be a way to prevent copying content in LC as a security precaution,
say for copyrighted material as an example.
Bob
On May 14,
Thanks Jacque. Yes, there was no perceptible performance hit by processing
all menus so all OK there.
I agree that the shortcut keys should be enabled/disabled in parallel with
their associated Edit menu items but I'm not seeing that behavior.
Here's what I did on a card with just one editable f
On 5/13/12 4:39 PM, Peter Haworth wrote:
I discovered then that there's a problem with those group mouseDown
handlers on a Mac - it's impossible to tell which menu was clicked because
"target" and "me" both return the name of the menu group, not the menu that
was clicked, so you end up adjusting
Thanks Jacque, that's sounds good but couple of questions.
You gave me the advice about locking/unlocking menus a few months back when
I was trying to manipulate the File Menu so I do have a menu group
mouseDown handler in place.
I discovered then that there's a problem with those group mouseDown
On 5/13/12 2:27 PM, Peter Haworth wrote:
What I have so far, which seems to work, is:
- on preOpenCard, check for the clipboard containing text and
enable/disable Paste accordingly
- a mouseMove handler for any editable fields that checks the selectedtext
and enables/disables the Edit menu cut