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
Paolo Mantovani wrote On 05/14/06 23:54,:
Just a small addition:
Of course, holding a reference of the listener into a global variable is a
good thing, (especially when you need to de-register it at latter time),
anyway, the listener survives even if you don't store it in a global var:
AFAIK
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
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
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
Hi Mathias
Hm, listeners can be registered by another macro, that itself can by
started by an event - and the listeners themselves are called by the
event source. Or what do you mean?
how is the first macro called ?
The problem with global variables is that they are, well, global. If you
Laurent Godard wrote On 05/15/06 11:20,:
Hi Mathias
Hm, listeners can be registered by another macro, that itself can by
started by an event - and the listeners themselves are called by the
event source. Or what do you mean?
how is the first macro called ?
The problem with global
Hi Carsten
Just for your infomration. The new toolbar controller enhancements are
not a com.sun.star.awt substitution. The implementation is deeply
integrated into the Office framework and therefore cannot support the
same feature set as low-level awt controls! Most functions are supported
Hi Paolo,
Paolo Mantovani wrote:
Just a small addition:
Of course, holding a reference of the listener into a global variable is a
good thing, (especially when you need to de-register it at latter time),
anyway, the listener survives even if you don't store it in a global var:
AFAIK a
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
Hi Mathias
This morning I had another idea that might solve the other problems: if
we use a dispatch object service as a relay between the UI elements
and the basic code as I proposed we also can use this object as a
storage for data associated to this connection, e.g. by providing a
property
Hi Carsten
Thanks for your response
The title settings will be ignored as older version use a different
resource URL schema for add-on toolbars. Therefore no problem with an
older 2.0.x version.
yes, this was obvious, but i wanted a confirmation to make things clear
thanks
Laurent
--
12 matches
Mail list logo