https://bugs.freedesktop.org/show_bug.cgi?id=68478

          Priority: medium
            Bug ID: 68478
          Assignee: [email protected]
           Summary: BASIC: Numbers inserted with the BASIC Value property
                    are not updated in the screen.
          Severity: normal
    Classification: Unclassified
                OS: Windows (All)
          Reporter: [email protected]
          Hardware: Other
        Whiteboard: BSA
            Status: UNCONFIRMED
           Version: 4.1.0.4 release
         Component: BASIC
           Product: LibreOffice

Created attachment 84517
  --> https://bugs.freedesktop.org/attachment.cgi?id=84517&action=edit
Spreasheet with an example of this bug (includes a macro that writes a number
in a cell, which is then not update on the screen)

Problem description: 

When numbers are inserted in a cell using the BASIC Value property, the cell
content is not updated on the screen.
The number is effectively introduced in the cell (if you go to the cell with
your mouse, you'll see the number in the input line), but it doesn't show up on
the screen
This doesn't happen if there is another cell with a formula with a reference to
the cell where the Value property writes . Also, 

---------

Steps to reproduce:

Try the attached spreadsheet, or the following code:
    Sub Main
        Dim Doc as Object
            Doc = ThisComponent
        Dim Sheet as Object
            Sheet = Doc.Sheets(0)
        Dim CellWrite as Object
            CellWrite = Sheet.getCellByPosition(0,0)
            CellWrite.value = 42
            CellWrite = Sheet.getCellByPosition(0,1)
            CellWrite.String = "Hello world!"
            CellWrite = Sheet.getCellByPosition(0,2)
            CellWrite.value = 41
    End Sub

---------

Current behavior:

The cell is not updated on the screen when you use BASIC Value property to
write a number in that cell (although the number is effectively inserted in the
cell)


---------

Expected behavior:

The cell should be updated on the screen..
Operating System: Windows 7
Version: 4.1.0.4 release

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to