To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=67369
                 Issue #|67369
                 Summary|awt UnoControl Roadmap - Items not visible 
               Component|api
                 Version|OOo 2.0.3
                Platform|All
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P5
            Subcomponent|code
             Assigned to|jsc
             Reported by|paolomantovani





------- Additional comments from [EMAIL PROTECTED] Fri Jul 14 03:40:27 -0700 
2006 -------
If you populate a com.sun.star.awt.UnoControlRoadmapModel with some items and 
*after* you add the control to the dialog, the items are not visible.

Please, consider the following example:


REM  *****  BASIC  *****

Sub Main
 
oDlg = CreateUnoDialog(DialogLibraries.Standard.Dialog1)
oRoadmapModel = 
oDlg.Model.createInstance("com.sun.star.awt.UnoControlRoadmapModel")

With oRoadmapModel
        .Height = oDlg.Model.Height
        .Width = oDlg.Model.Width/3
        .PositionX = 0
        .PositionY = 0
        .Name = "RoadMap"
        .Text = "Steps"
End With

Step1 = oRoadmapModel.createInstance()
Step1.ID = 1
Step1.Label = "step 1"
Step1.Enabled = True
oRoadmapModel.insertByIndex(0, Step1)

Step2 = oRoadmapModel.createInstance()
Step2.ID = 2
Step2.Label = "step 2"
Step2.Enabled = True
oRoadmapModel.insertByIndex(1, Step2)

oDlg.Model.insertByName( "RoadMap", oRoadmapModel )
oDlg.execute()

End Sub

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