incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 120012] New: loosing Visible settings after changing dialog side by step=
Date Sun, 17 Jun 2012 13:22:30 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=120012

          Priority: P3
            Bug ID: 120012
          Assignee: ooo-issues@incubator.apache.org
           Summary: loosing Visible settings after changing dialog side by
                    step=
          Severity: normal
        Issue Type: DEFECT
    Classification: Unclassified
                OS: Windows 7
          Reporter: paulhh@gmx.net
          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.

Mime
View raw message