[Libreoffice-bugs] [Bug 134232] New: TextBox: the text assigned to the Text property isn't displayed in UI (v6.0.x .. 6.4.4.2)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Jun 22 15:07:09 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=134232

            Bug ID: 134232
           Summary: TextBox: the text assigned to the Text property isn't
                    displayed in UI (v6.0.x .. 6.4.4.2)
           Product: LibreOffice
           Version: 6.4.4.2 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: tufkane at tutanota.com

Description:
Given this code snippet:

  Dim oDialog1 As Object
  Dim oText As Object
  BasicLibraries.LoadLibrary("Tools")
  oDialog1 = LoadDialog("Standard", "MyDialog")
  oText = oDialog1.getControl("MyTextBox")
  oText.Text = "Sample Text"
  msgbox  oText.Text

The "Sample Text" assigned to oText.Text is properly displayed by the msgbox
statement.
Despite this, the "MyDialog" (a dialog, of course) doesn't update the
corresponding TextBox.


Steps to Reproduce:
1.create a MyDialog with MyTextBox and a Button
2.on button click, call a Sub with code snippet


Actual Results:
The assigned text isn't displayed by the TextBox

Expected Results:
The assigned text must be displayed by the TextBox


Reproducible: Always


User Profile Reset: No



Additional Info:
Versione: 6.4.4.2 (x64)
Build ID: 3d775be2011f3886db32dfd395a6a6d1ca2630ff
Thread CPU: 4; SO: Windows 6.1 Service Pack 1 Build 7601; Resa interfaccia:
predefinito; VCL: win; 
Versione locale: it-IT (it_IT); Lingua interfaccia: it-IT
Calc: CL
--
By sure the bug is also present on 6.0.x, but I'm not sure about "x".
I reproduced it on the last version 6.4.4.2 (x64) too, installed hoping to fix.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200622/747432cb/attachment.htm>


More information about the Libreoffice-bugs mailing list