Hi :)
Brilliant! Nicely found! I didn't realise you had already read both of them and i don't normally
like rtfm-type answers so we both got lucky there.
Regards from
Tom :)
--- On Fri, 10/2/12, Russell D Mileham <rmileham@midwestmicro-tek.com> wrote:
From: Russell D Mileham <rmileham@midwestmicro-tek.com>
Subject: Re: [libreoffice-users] Programatically changing the properties of a multselection (group)
To: users@global.libreoffice.org
Date: Friday, 10 February, 2012, 14:59
Thanks Tom,
I have both of the references you referred to, but as you suggested I went back to them while I was
waiting for a reply. On the umpteenth time going through the Basic Guide I found a code snippet
that made an obscure reference to getGroupByName, and that was the piece I was missing!
Thanks again to you and Jay Lozier for your help.
Best Regards,
Russ Mileham
On Thu, 9 Feb 2012 22:06:25 +0000 (GMT)
Tom Davies <tomdavies04@yahoo.co.uk> wrote:
Hi :)
A good guide to macros is listed at the bottom of the "Programmers" section of 3rd party
documentation
http://wiki.documentfoundation.org/Documentation/Publications#Programmers
A direct link to Andrew Pitonyak's page is here
http://www.pitonyak.org/oo.php
There might be other guides to help you learn Macro language better while you are waiting for
responses from this list.
Good luck and regards from
Tom :)
--- On Thu, 9/2/12, Jay Lozier <jslozier@gmail.com> wrote:
From: Jay Lozier <jslozier@gmail.com>
Subject: Re: [libreoffice-users] Programatically changing the properties of a multselection
(group)
To: users@global.libreoffice.org
Date: Thursday, 9 February, 2012, 20:05
On 02/09/2012 02:34 PM, Russell D Mileham wrote:
I am building a Base form where I would like to group several controls and enable/disable them
based on the actions of the user. When I group the controls, the Enabled property can be set in
the Properties: Multiselection dialog through the GUI, but I can't seem to figure out how to
access the group properties in a macro. I have tried accessing a Model of the Group using
getByName(GroupName), followed by accessing the view using getControl(Model). However, it
appears that what I get is a Model and View of the first control element contained in the
group. Can someone point me in the right direction?
Thanks,
Can you post a copy of the form and code on Nabble or somewhere else so others can look at. Just
send a message with the appropriate links. There are couple on the list who are very good a
macros.
Email attachments are stripped from the list if you send directly to the list
-- Jay Lozier
jslozier@gmail.com
-- For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
--
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
--
Russell D Mileham <rmileham@midwestmicro-tek.com>
--
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
--
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.