On Tuesday 16 January 2007 19:32, Carsten Driesner wrote:
>
> > Now one more question: my toolbar currently has a
drop-down button
> > control which I would like to replace with a
drop-down box.
> > However, this seems to be impossible, because I
have an impression
> > that the documented command
"SelectEntry" is actually not
> > supported: it is even not listed in
> > dropdownboxtoolbarcontroller.cxx. I also recall
(but I may be wrong
> > here) that the "Text" event for this
control type didn't actually
> > return the selected text.
>
> Please let me check this.
I have done a few more experiments with drop-down boxes and
have an
impression that when I am selecting a list item, just
nothing happens:
neither a dispatch is executed, nor any useful events are
generated.
However, anything starts working if I change the control
type to
combo-box. As a temporary workaround I decided to use a
combo-box
in my toolbar, but I am not quite happy with this solution,
as it is
not desired in my case to allow users to input an arbitrary
text into
the control.
> If you are too busy, please give us some time to update
the
> documentation. It's possible that last time changes
didn't make it
> into the documentation.
Well, I understand anybody can edit a wiki article... I just
supposed
that document has a more or less official status, and thus
it would
be better if it is edited only by the responsible developer.
And,
of course, I am just not aware which currently supported
possibilities
are considered stable and which may change in future (so
that it would
be bad idea to document them right now).
--
Regards,
Alexey Kryukov <anagnost yandex ru>
Moscow State University
Historical Faculty
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe api.openoffice.org
For additional commands, e-mail: dev-help api.openoffice.org
|