Re: [libreoffice-users] Re: Macro code to highlight a field on a Form

2012-07-19 Thread Marion & Noel Lodge
Hi Tom, I'm back on deck again now. Thanks for this URL - I've bookmarked it for future reference. Noel -- Noel Lodge lodg...@gmail.com On 8 July 2012 06:06, Tom wrote: > Hi :) > There is an excellent guide on writing Macros > https://wiki.documentfoundation.org/Documentation/Publications#Pro

[libreoffice-users] Re: Macro code to highlight a field on a Form

2012-07-07 Thread Tom
Hi :) There is an excellent guide on writing Macros https://wiki.documentfoundation.org/Documentation/Publications#Programmers but getting personalised advice from an experienced expert such as Andreas is even better. Still it can be useful to have a guide too. Regards from Tom :) -- View

[libreoffice-users] Re: Macro code to highlight a field on a Form

2012-07-02 Thread Alex Thurgood
On 01/07/2012 12:11, Marion & Noel Lodge wrote: Hi, *This works well, but what I haven't been able to work out is how to highlight the Amount field so that the user can then type in the new amount over the top of the existing amount. The user could just type Ctrl + A, but I'm trying to reduce

[libreoffice-users] Re: Macro code to highlight a field on a Form

2012-07-01 Thread Andreas Säger
Hello, All you need is the MRI extension. http://extensions.libreoffice.org/extension-center/mri-uno-object-inspection-tool Within seconds it can point you to method http://www.openoffice.org/api/docs/common/ref/com/sun/star/awt/XTextComponent.html#setSelection The .setSelection(aSelection)