I’m looking for a method to insert text into a Base form textbox either via macro generated text or via LO’s AutoText function.
More specifically, I am attempting to use a push button form control linked to a simple text macro to input text into a text box form control. I have been able to set up a push button form control to input text via a macro into a Write document without difficulty. However, I can’t get the same text to input into a text box when the text box has focus and the push button is activated. I did select NO on the “take focus on click” form control option for the push button, but this made no difference.
I have also tried inserting AutoText into a textbox form control without success. Again, I was able to successfully set up the desired autotext and insert it into a Write document via control/F3, but this function does not work properly when the cursor is within a text box contained in a Write document.
In more general terms, I have an image with several invisible push button “hot spots” overlayed on the image. Each push button is linked to a different text descriptor that I would like inserted into a text box when the push button is activated via a mouse click. For example, let’s say that the background image is a face. I have push buttons overlaying the eyes, nose, mouth, ears, etc. When the push button is activated over the nose, I would like the text “nose” to appear in the text box that has focus (i.e., has the cursor located within the textbox).
Is what I’m attempting possible in LO? If not, can anyone think of an alternative method to accomplish the same task utilizing LO?
Thanks in advance,