Re: [dev] Programmatic control of Toolbar Items: ComboBox possible?

2005-11-17 Thread Carsten Driesner
Matthias Benkmann wrote: On 9/23/05, Carsten Driesner [EMAIL PROTECTED] wrote: Thanks. The width aspect is okay now. But what about the height? I'd like to have my ComboBox always have the same height as the ComboBoxes OOo has by default, such as the font selector. I could empirically determine

Re: [dev] Programmatic control of Toolbar Items: ComboBox possible?

2005-11-08 Thread Matthias Benkmann
On 9/23/05, Carsten Driesner [EMAIL PROTECTED] wrote: Matthias Benkmann wrote: That did the trick. Thanks for all your help so far. Now there's just one little cosmetic thing: How do we specify the size of the ComboBox so that it scales with the system font. Currently we're supplying

Re: [dev] Programmatic control of Toolbar Items: ComboBox possible?

2005-09-23 Thread Carsten Driesner
Matthias Benkmann wrote: On 9/22/05, Carsten Driesner [EMAIL PROTECTED] wrote: wd.WindowAttributes = WindowAttribute.SHOW|VclWindowPeerAttribute .DROPDOWN; That did the trick. Thanks for all your help so far. Now there's just one little cosmetic thing: How do we specify the size of the

Re: [dev] Programmatic control of Toolbar Items: ComboBox possible?

2005-09-22 Thread Matthias Benkmann
Does this mailing list discard attachments or am I having a problem with GMail? Someone told me that my attachment has not arrived on the list. So here is the code again inline: public XWindow createItemWindow(XWindow xWindow) { // xMSF is set by initialize(Object[]) try {

Re: [dev] Programmatic control of Toolbar Items: ComboBox possible?

2005-09-22 Thread Carsten Driesner
Matthias Benkmann wrote: Hi Matthias, // create WindowDescriptor WindowDescriptor wd = new WindowDescriptor(); wd.Type = WindowClass.SIMPLE; wd.Parent = xWinPeer; wd.Bounds = new Rectangle(0, 0, 100, 100); wd.ParentIndex =

Re: [dev] Programmatic control of Toolbar Items: ComboBox possible?

2005-09-22 Thread Matthias Benkmann
On 9/22/05, Carsten Driesner [EMAIL PROTECTED] wrote: wd.WindowAttributes = WindowAttribute.SHOW|VclWindowPeerAttribute .DROPDOWN; That did the trick. Thanks for all your help so far. Now there's just one little cosmetic thing: How do we specify the size of the ComboBox so that it scales with

Re: [dev] Programmatic control of Toolbar Items: ComboBox possible?

2005-09-19 Thread Carsten Driesner
Matthias Benkmann wrote: On 9/2/05, Carsten Driesner [EMAIL PROTECTED] wrote: Okay, a colleague of mine has created a component based on your instructions (the idl for the component is attached). The question we face now is how to get this new component into a toolbar. In the thread How to add

Re: [dev] Programmatic control of Toolbar Items: ComboBox possible?

2005-09-02 Thread Carsten Driesner
Matthias Benkmann wrote: On 8/31/05, Carsten Driesner [EMAIL PROTECTED] wrote: That would be great as I'm currently evaluating different implementation options for one of our projects. Hi Matthias, Sorry for the late answer, but I was very busy. I give you a first draft how you can add a

[dev] Programmatic control of Toolbar Items: ComboBox possible?

2005-08-31 Thread Matthias Benkmann
I'd like to know if the new programmatic control of menu and toolbar items feature will allow me to create a custom ComboBox in a toolbar. Thanks. Matthias

Re: [dev] Programmatic control of Toolbar Items: ComboBox possible?

2005-08-31 Thread Carsten Driesner
Matthias Benkmann wrote: I'd like to know if the new programmatic control of menu and toolbar items feature will allow me to create a custom ComboBox in a toolbar. Thanks. Hi Matthias, I think it's possible, but there is no easy way to do it. We plan to implement an easy way for the next

Re: [dev] Programmatic control of Toolbar Items: ComboBox possible?

2005-08-31 Thread Matthias Benkmann
On 8/31/05, Carsten Driesner [EMAIL PROTECTED] wrote: If you want to try the hard way, please let me know and I will give a summary how you can do it. That would be great as I'm currently evaluating different implementation options for one of our projects. Matthias