Re: [api-dev] use of css.awt.UnoControlScrollBarModel

2006-05-16 Thread Frank Schönheit - Sun Microsystems Ger many
Hi Paolo, In spite of this, reading the IDL description it seems that all should happen automatically, without listeners or event binding, infact: css.awt.UnoControlScrollBarModel --- boolean LiveScroll; Description specifies the scrolling behaviour of the

Re: [api-dev] use of css.awt.UnoControlScrollBarModel

2006-05-16 Thread Paolo Mantovani
Hi Frank, Alle 08:54, martedì 16 maggio 2006, Frank Schönheit - Sun Microsystems Germany ha scritto: Hi Paolo, In spite of this, reading the IDL description it seems that all should happen automatically, without listeners or event binding, infact: css.awt.UnoControlScrollBarModel

Re: [api-dev] use of css.awt.UnoControlScrollBarModel

2006-05-16 Thread Frank Schönheit - Sun Microsystems Ger many
Hi Paolo, In effect the best would be to have a specialized scroll-panel beside the existing scrollbar control for general purposes. ... In addition, there is also a specialized control called Scrollview that is a panel where you can put other control as children. ... Yes, most

Re: [api-dev] use of css.awt.UnoControlScrollBarModel

2006-05-15 Thread Frank Schönheit - Sun Microsystems Germa ny
Hi Paolo, Before run it create an empty dialog and place on it an horizontal scrollbar with sufficient dimensions (f.e. 100x100). As you will see in the code I've put a control inside the scrollbar window. Perhaps the documentation is misleading here. What the property really controls is

Re: [api-dev] use of css.awt.UnoControlScrollBarModel

2006-05-15 Thread Paolo Mantovani
Hi Frank, Alle 08:49, lunedì 15 maggio 2006, Frank Schönheit - Sun Microsystems Germany ha scritto: Hi Paolo, Before run it create an empty dialog and place on it an horizontal scrollbar with sufficient dimensions (f.e. 100x100). As you will see in the code I've put a control inside

Re: [api-dev] use of css.awt.UnoControlScrollBarModel

2006-05-15 Thread Laurent Godard
Hi controls is how often the XAdjustmentListener which you can register at the UnoControlScrollBar is called. The code to handle those events - e.g. by scrolling an associated window - is still up to you. would it be difficult to make this generic ? Ok, now it's clear. I'll repeat my

Re: [api-dev] use of css.awt.UnoControlScrollBarModel

2006-05-15 Thread Frank Schönheit - Sun Microsystems Germa ny
Hi Laurent, controls is how often the XAdjustmentListener which you can register at the UnoControlScrollBar is called. The code to handle those events - e.g. by scrolling an associated window - is still up to you. would it be difficult to make this generic ? Depends on a more precise

Re: [api-dev] use of css.awt.UnoControlScrollBarModel

2006-05-15 Thread Paolo Mantovani
Hi Laurent, Alle 09:21, domenica 14 maggio 2006, Laurent Godard ha scritto: Hi Paolo looking in the IDL documentation for the css.awt.UnoControlScrollBarModel service I've found this new property: i've never used this control This seems very interesting so I've done some

Re: [api-dev] use of css.awt.UnoControlScrollBarModel

2006-05-14 Thread Laurent Godard
Hi Paolo looking in the IDL documentation for the css.awt.UnoControlScrollBarModel service I've found this new property: i've never used this control This seems very interesting so I've done some investigations, but without any luck. Below my testing code: Before run it create an empty

[api-dev] use of css.awt.UnoControlScrollBarModel

2006-05-13 Thread Paolo Mantovani
Hi all, looking in the IDL documentation for the css.awt.UnoControlScrollBarModel service I've found this new property: - Boolean LiveScroll Description specifies the scrolling behaviour of the control. true means, that when the user moves the slider in the scroll bar, the