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

          Priority: medium
            Bug ID: 82302
          Assignee: [email protected]
           Summary: Base: Grid ListBox and Number SelectedValue / Value
                    not updating in Form
          Severity: normal
    Classification: Unclassified
                OS: Windows (All)
          Reporter: [email protected]
          Hardware: Other
            Status: NEW
           Version: 4.3.0.4 release
         Component: BASIC
           Product: LibreOffice

This is the subject of question in LibreOffice forum.

http://ask.libreoffice.org/en/question/38003/base-how-to-change-listbox-selectedvalue-via-lo-basic/

Trying to use LO Basic macro to change value of List Box in LO Base form. The
ListBox is on a grid control on the form.

The following operation

  oGridControl.GetByName("list1").SelectedValue = new_val

updates the value in the grid column, but the grid does not display or save the
value, it is a phanotom and ignored value that only is confirmed by printing
the .currentvalue.  This operation performs as expected on field that is not on
grid.

Expected result:  Should have the same result on list or number field on grid,
which it does on normal off-grid number or list field.

Actual result:  List and number field values not updateable on grid by means
used in LO Basic for normal form fields.

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