Hi everyone,
I am working on a Windows application that uses htmltext for a lot of things.
Typing Ctrl+B (Bold), as well as italics and underline, works perfectly in livecode without getting into the htmltext, but in a standalone the keyboard shortcuts do nothing at all.
Is there something I can do to fix this rather than manually modifying the htmltext? Is this a bug that should be reported?
Thanks for any help!
Ctrl+B doesn't work in standalone
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Ctrl+B doesn't work in standalone
Hi Dave,
IDE <> standalone!
Means if you did not create and script a "Text" menu in your app with its appropriate keyboard shortcuts just like the IDE, then this cannot work.
Best
Klaus
IDE <> standalone!
Means if you did not create and script a "Text" menu in your app with its appropriate keyboard shortcuts just like the IDE, then this cannot work.

Best
Klaus
Re: Ctrl+B doesn't work in standalone
Thanks Klaus,
So you are saying I have to manually code my own means of creating and destroying <b> tags, etc, in the htmltext?
That really sounds like something that should be included in the default field. After all, the folks who made livecode clearly already have the code.
So you are saying I have to manually code my own means of creating and destroying <b> tags, etc, in the htmltext?
That really sounds like something that should be included in the default field. After all, the folks who made livecode clearly already have the code.
Do you mean a nice little row of buttons like the one in property inspector's "Text" tab?if you did not create and script a "Text" menu
Re: Ctrl+B doesn't work in standalone
Hi Dave,
Best
Klaus
P.S.
Thank you for not shooting the messenger!
Yes.Cool Dave wrote:So you are saying I have to manually code my own means of creating and destroying <b> tags, etc, in the htmltext?
Yes, or the menu "Text" in the menubar, or create some buttons that will do the job.Cool Dave wrote:...Do you mean a nice little row of buttons like the one in property inspector's "Text" tab?if you did not create and script a "Text" menu
Best
Klaus
P.S.
Thank you for not shooting the messenger!

Re: Ctrl+B doesn't work in standalone
If you don't want to add a menubar to the stack you can use a commandKeyDown handler to catch cmd-b and set the textstyle of the selectedChunk to bold. There's usually no need to mess with the htmltext.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com