if i not declare a context menu,and i have a empty texteditor field with no function then the right mouse give me the context in os language .
german.
With functions the contextmenu is in english , why?
Context menu, when language switch?
Re: Context menu, when language switch?
I forgot: in Operatingsystem Windows
- airsoftsoftwair
- Posts: 5433
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Context menu, when language switch?
What do you mean by "functions"? Of course, the context menu provided by the OS is in the system's language. If you define a custom context menu, it will use the language strings provided.
Re: Context menu, when language switch?
if you look in your RapaGui Example "Demo" there the part texteditor, you see contextmenu is in german.
In your example Rapagui script "texteditor" there is the contextmenu in english.
In your example Rapagui script "texteditor" there is the contextmenu in english.
- airsoftsoftwair
- Posts: 5433
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Context menu, when language switch?
This is because the TextEditor.hws example sets TextEditor.Styled to TRUE. Then you will get Richedit control instead of a standard edit control on Windows and wxWidgets uses a custom context menu for Richedit controls. I don't know why but I'm sure there's a very good reason
Re: Context menu, when language switch?
That's exactly the reason with Texteditor.Styled "FALSE" Iin WIN OS the RM Contextmenu is in OS language , with "True" is this in english. But i love the Richedit controls, now i can show the Power of Speechrecognition.
looks great " Mark Texteditor.Styled Make that bold"
looks great " Mark Texteditor.Styled Make that bold"