incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 120012] New: loosing Visible settings after changing dialog side by step=
Date Sun, 17 Jun 2012 13:22:30 GMT

          Priority: P3
            Bug ID: 120012
           Summary: loosing Visible settings after changing dialog side by
          Severity: normal
        Issue Type: DEFECT
    Classification: Unclassified
                OS: Windows 7
          Hardware: PC
            Status: UNCONFIRMED
           Version: unspecified
         Component: vba
           Product: app dev

Created attachment 78354

when changing the side of an dialob by .step and going back to the calling
side, all dynamically .visible settings are gone.

REM  *****  BASIC  *****
Private oDlg As Object
Sub Main
   Dim cCommandButton1 As Object
   oDlg = CreateUnoDialog(DialogLibraries.Standard.Dialog1)
   oDlg.Model.Step = 1
   cCommandButton1 = oDlg.GetControl("CommandButton1")
   cCommandButton1.Visible = False        ' cmbutton is invisible
End Sub

Sub ForceStep2
   oDlg.Model.Step = 2       ' goto side 2 
End Sub

Sub GoBack
   oDlg.Model.Step = 1       ' go back to side1, cmdbutton is visible
End Sub

You are receiving this mail because:
You are the assignee for the bug.

View raw message