https://issues.apache.org/ooo/show_bug.cgi?id=120012

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

Created attachment 78354
  --> https://issues.apache.org/ooo/attachment.cgi?id=78354&action=edit
sample

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
   oDlg.Execute()
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.

Reply via email to