To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=64884
                  Issue #:|64884
                  Summary:|add default property behaviour for objects that
                          |support that
                Component:|framework
                  Version:|OOo 2.0.2
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|ENHANCEMENT
                 Priority:|P3
             Subcomponent:|scripting
              Assigned to:|npower
              Reported by:|npower





------- Additional comments from [EMAIL PROTECTED] Fri Apr 28 04:47:26 -0700 
2006 -------
Some objects in vba support a default value to be used as a lhs or rhs argument,
I call this a default property ( but probably that will cause confusion to some
people but bear with me ;-) )
e.g.
         'Range("a1") = 4' is equivalent to 'Range("a1").Value = 4'
       also
         'val = Range("a1")' is equivalent to 'val =
Range("a1").Value()'
       also
         'Range("a1") = Range("a2")' equivalent to  'Range("a1").Value =
Range("a2").Value'
         so in this case default "property" can be both a lhs & rhs arg 

proposed is an enhancement to basic to behave as above if an object indicates to
the basic runtime that such a "property" exists. Where object is an "uno object"
that supports a specific ( yet to be named ) interface e.g. XDefaultProperty

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