To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=105097


User ab changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|UNCONFIRMED               |RESOLVED
--------------------------------------------------------------------------------
              Resolution|                          |WORKSFORME
--------------------------------------------------------------------------------




------- Additional comments from [email protected] Tue Sep 29 10:20:01 +0000 
2009 -------
ab->llyaudet: There already are such methods, but I
doubt that it makes much sense to use them with a
modal dialog, although it is possible. Assume you
have a simple dialog with a button and a text field.
If you assign HideHdl to the button's Execute event
pressing the button will hide it for 3s keeping the
text in the text field:

public oDlg

Sub Main
    oDlg = CreateUnoDialog( DialogLibraries.Standard.Dialog1 )
    oDlg.execute
End Sub

Sub HideHdl
    oDlg.SetVisible( false )
    wait( 3000 )
    oDlg.SetVisible( true )
End Sub

You can also modify the control models before execu-
ting the dialog, e.g.:

oDlg.Model.TextField1.Text = "Hello"
oDlg.execute

-> WORKSFORME


---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to