I'm confused - why would you want/expect this behavior? An event like that is a callback for GUI events. If there's code you want executed each time the list is changed regardless of whether it was from the GUI or from a macro, I'd suggest writing a function that has whatever code you want executed in it, and then call that function from both the "on list change" event and from your macro that changes the list's selection.
Quoting CPHennessy <[EMAIL PROTECTED]>: > On Tuesday 26 June 2007, [EMAIL PROTECTED] wrote: > > With forms, actions done on objects by a macro do not fire events of that > > object. For example, if you have a list with a "on list change" event, and > > from a macro change the list's selection, it will not fire the event. > > > > However, with elements in dialogs, this will fire the event. This is > > making life very difficult for me. Is there a way to change this behavior? > > This list is really only for usage questions. However maybe you should ask on > [EMAIL PROTECTED] as they deal with API uses and ask to be CC:ed as you > may not see all replies unless you subscribe to that list by sending an email > to [EMAIL PROTECTED] and reply to the confirmation request > email. > > > > -- > CPH : openoffice.org contributor > > Maybe your question has been answered already? > http://user-faq.openoffice.org/#FAQ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
