On Fri, 18 May 2007 19:59:13 -0500, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
Buenas a todos:
Estoy probando el detector de eventos que me envió Santiago Bosio
(Muchas gracias de corazón).
Necesito saber como tener un dialogo que se mantenga arriba y que
permita seguir escribiendo y trabajando en writer. Es decir No-Modal (si
no me equivoco).
Gracias a todos.
WhiteWolf
es un problema del modulo AWT. Se que existen dialogos los cuales son no
modales. Mas informacion en el wiki de OOo.
http://wiki.services.openoffice.org/wiki/Playing_with_Window_Toolkit_AWT
Forms are much higher level than the other two.
Of the first two, Dialogs are something using the UnoDialogControl and its
model. You can also create AWT windows with controls.
AWT windows are modeless, and are not tied to any other window.
AWT windows are not the same thing as dialogs.
Generally, dialogs are operated modally by calling execute() on the dialog.
I have also had some success with operating dialogs modelessly. Just
unhide the dialog, and it can be used modelessly. One drawback is that the
modeless dialog seems to be tied to some concept of a "parent" window. I'm
not sure, but I think that tends to be whatever window was in front when
you created the dialog. So for example, you could create a modeless dialog
that allows you to work with your document, but that modeless dialog's
behavior appears to be tied to that document. Bring the modeless dialog to
the front, and its document also comes to the front.
Hay algunos detalles con el modeulo de AWT:
http://wiki.services.openoffice.org/wiki/Framework/Article/Gap_Analysis_Tookit_API
Hay una tabla con cosas que no estan bien implementadas en el API del
modulo de AWT. Estas cosas son importantes ser reparadas para que puedas
arreglar.
--
Alexandro Colorado
OpenOffice.org
Community Contact // Mexico
http://www.openoffice.org
Twitter: http://www.twitter.com/jza
Jabber: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]