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 <[email protected]> wrote: From: Jay Lozier <[email protected]> Subject: Re: [libreoffice-users] Programatically changing the properties of a multselection (group) To: [email protected] 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 [email protected] -- For unsubscribe instructions e-mail to: [email protected] 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: [email protected] 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
