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





------- Additional comments from [EMAIL PROTECTED] Tue Jan 18 07:57:16 -0800 
2005 -------
Aidan, I have some problems reproducing this - admittedly with Basic, not
Python. If I execute the following script for a dialog model
  button = oDialogModel.createInstance( 
"com.sun.star.awt.UnoControlButtonModel")
  button.PositionX = 4
  button.PositionY =  55
  button.Width = 45
  button.Height = 14
  button.Name = "Test"
  button.Label = "testagain"
  button.BackgroundColor = 255 * 256
  oDialogModel.insertByName( button.Name, button )

then this works perfectly.

What I'm missing in your script is an insertion of the button model into the
dialog model - did you just omit this, or is this simply not happening?
Also, what state is your dialog in? Is it currently being displayed/executed?

---------------------------------------------------------------------
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