[users] Re: A way to change event triggering behaviour for dialogs?

2007-06-28 Thread adam . schirmacher
Ummm...did you read my question at all? The unwanted behavior you described is what's built-in to OOo dialogs right now. That's why I am asking if it's possible to change it. - To unsubscribe, e-mail: [EMAIL PROTECTED] For

[users] Re: Cost for using Open Office for a business?

2007-06-27 Thread adam . schirmacher
I'm not talking out of my ass. Using OpenOffice to access to read openoffice databases, type documents, print labels and make spreadsheets is one thing. I don't disagree that OpenOffice is solid on those facets. But an office suite needs to do much more. Why are dialogs so buggy? I have

[users] Re: Logarithm function does not work

2007-06-27 Thread adam . schirmacher
Can you post the code where you call the function, and what values you are passing? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[users] A way to change event triggering behaviour for dialogs?

2007-06-26 Thread adam . schirmacher
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

[users] Re: Cost for using Open Office for a business?

2007-06-26 Thread adam . schirmacher
There are hidden costs. For one, a VERY buggy office suite. I am using it for a business now, piloting the software as my company is considereing switching. I can 99.9% guarantee you that the cost you pay in time dealing with bugs and design flaws is much more costly than just buying MS

[users] What is the syntax for using variables in Queries?

2007-06-21 Thread adam . schirmacher
How does one create a query with a parameter? I tried simply putting box brackets around some text in the Criterion field of the designer. It didn't work. 1. How to make a query accept a variable (parameter)? 2. How to send an argument to this query when it is used in a form (say, as a list

[users] Is there a function to set a list's current value?

2007-06-20 Thread adam . schirmacher
I have a listbox with a value list containing just oen element. I would like to be able to set the list's current value to this. The star office basic guide says that the .SelectItem(item, mode) method can select an item from the list. However, this method is not recognized at all when I use

[users] How to get form name from a macro not called by the form?

2007-06-19 Thread adam . schirmacher
Hi. I appreciate any responses ahead of time. I have a dialog which calls several macros. These macros need to access information from a form; however, since they are called by the dialog, the event structure has no information about the form. How can I access the form from these macros?

[users] How to get form name from a macro not called by the form?

2007-06-19 Thread adam . schirmacher
Hi. I appreciate any responses ahead of time. I have a dialog which calls several macros. These macros need to access information from a form; however, since they are called by the dialog, the event structure has no information about the form. How can I access the form from these macros?

[users] Re: How to get form name from a macro not called by the form?

2007-06-19 Thread adam . schirmacher
Great. So, if I understand correctly, I can simply use ThisComponent to address the form. So, I could use statements like ThisComponent.getByName(mylistbox).Enabled=True Is this correct? Also, from what I gather from your macro document, even if the macro is called from a dialog, a dialog

[users] Re: How to get form name from a macro not called by the form?

2007-06-19 Thread adam . schirmacher
Actually, I am not sure what ThisComponent is. It's property tree doesn't look like a form, and I can't use any of the normal properties like ThisComponent.getByName(). Any advice? - To unsubscribe, e-mail: [EMAIL PROTECTED]

[users] How to add an integer to dialog listbox and select it?

2007-06-19 Thread adam . schirmacher
Hi. I am trying to write some code that will add an integer to a dialog drop-down, then select it. For example, it might add the value 13 to the list, then select that value. However, I don't understand the AddItem() and SelectItem() methods. I think the most helpful thing in the world right

[users] How to address a form element from a dialog?

2007-06-14 Thread adam . schirmacher
I have a macro which is fired from an event attached to an element within a dialog. I want this macro to be able to refer to the original form, an elements within it. I am quite new to dialogs, so I hope you understand my question. 1. Form with elements, launches a macro which launches my

[users] How to run macro on dialog startup?

2007-06-14 Thread adam . schirmacher
Is there a way to run a macro upon the opening of a dialog? I don't mean when any dialog is oepened, but when this specific dialog is opened. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL