Discussion:
Start Dictation and Emoji & Symbols menu items
Markus Winter
2016-09-06 14:04:34 UTC
Permalink
Keyboard preferences. And no, they are not automatically added.

MfG

Markus

Sent from my iPad

_______________________________________________
Unsubscribe by sending a message to:
<nug-***@lists.xojo.com>

List Help: <***@xojo.com>
Jean-Luc Arnaud
2016-09-07 10:51:11 UTC
Permalink
Thanks for this detailed information, Vaughn.

Will try to deal with EnableMenuItems and Copy suggestions.

Jean-Luc Arnaud
I was curious about your question and googled it, apparently this has
annoyed other developers.
Some say you can check the edit menu and remove them (probably when
enableMenuItems are fired)
Others say the presence of the Copy menuitem triggers the addition and to
add/rename Copy once the app has launched.
The only app of mine that I checked this morning was built with Xojo 2013
(cocoa) and doesn't show those items, so it may be related to the specific
SDK Xojo targets internally.
Vaughn
Sorry Markus, My question was probably not clear.
I meant: How to hide these items in my apps, programmatically, in order,
for the user, to not see them even if they are activated in Keyboard
preferences?
Jean-Luc Arnaud
Post by Markus Winter
Keyboard preferences. And no, they are not automatically added.
MfG
Markus
Sent from my iPad
_______________________________________________
_______________________________________________
_______________________________________________
_______________________________________________
Unsubscribe by sending a message to:
<nug-***@lists.xojo.com>

List Help: <***@xojo.c
Jean-Luc Arnaud
2016-09-09 08:54:42 UTC
Permalink
Well, after some tests, here is what I found:

- Mainly, Start Dictation and Emoji & Symbols menu items only appear, in
a French language app, when Edit menu name is "Édition" (official french
name of this menu). Naming it "Edition" without accent, or "Editer" or
"Éditer" leads to items not appearing. Cool!:-) I guess the same
procedure should work in English and any other language: just rename the
Edit menu in order to not use the official name. Doing so, the OS does
not find the "official Edit menu" and does not add Apple items. I tried
to just add a space at the end of the official name, this works!!!

- When these items appear, it's impossible to remove, disable, rename
them (at least, I didn't find the way), because they are not listed in
Child items. With an "Édition" edit menu having 10 childs (not including
Start Dictation and Emoji & Symbols menu items), in the EnableMenuItems
event, I only get a MenuItem.Count of 10, whereas 12 are displayed.
Looking for childs with names, instead of index, leads to same result.
Maybe with some special calls?

Jean-Luc Arnaud
I was curious about your question and googled it, apparently this has
annoyed other developers.
Some say you can check the edit menu and remove them (probably when
enableMenuItems are fired)
Others say the presence of the Copy menuitem triggers the addition and to
add/rename Copy once the app has launched.
The only app of mine that I checked this morning was built with Xojo 2013
(cocoa) and doesn't show those items, so it may be related to the specific
SDK Xojo targets internally.
Vaughn
Sorry Markus, My question was probably not clear.
I meant: How to hide these items in my apps, programmatically, in order,
for the user, to not see them even if they are activated in Keyboard
preferences?
Jean-Luc Arnaud
Post by Markus Winter
Keyboard preferences. And no, they are not automatically added.
MfG
Markus
Sent from my iPad
_______________________________________________
_______________________________________________
_______________________________________________
_______________________________________________
Unsubscribe by sending a message to:
<nug-***@lists.xojo.com>

List Help: <listhe

Loading...