Whitespaces are not allowed within shortcuts

0
0

Hi

Updated to latest version. I’m getting the error ‘whitespaces are not allowed within shortcuts’ when I try and load the form in the designer. It loads correctly after pressing ok. When I build and run the application I get the error again in a message box and the program crashes. I’m unable to catch the error to find out what is causing it. Any suggestions ? Thanks

 

  • You must to post comments
0
0

Hi Dave,

WJ-8086 is fixed in our latest build (1.3.40).

Best regards
Frank

  • You must to post comments
0
0

Thanks Dave !

I could reproduce following your description and have logged WJ-8086 for it.

We´ll inform you when a fix is available.

Best regards
Frank

  • You must to post comments
0
0

Done some more digging. Appears to be an issue with the MenuBar and MenuItem.

  1. Create New Project
  2. Add a menu Bar.
  3. Add a menu item through the designer.
  4. Change it to AllowHTML = True

What ever you put in the text causes the error. “Not a valid Key Name for a Shortcut :MenuItem1”

Change the text to “<a href=”http://google.com” target=”_blank”>Google</a>” and you get the “whitespaces are not allowed within shortcuts” message.

 

  • You must to post comments
0
0

Hi Dave,

can you try to search for “& “ in your code ?
Are dynamically assigning any accelerators to menus, buttons etc. ?

If it does not help, any chance to send us some code that causes this error ?

You send it to frankATiceteagroup.com

Thanks in advance,
Frank

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.