https://bugs.documentfoundation.org/show_bug.cgi?id=151740
Bug ID: 151740
Summary: Naming of ImageURL / Graphics property is inconsistent
between properties age in dialog editor and actual
written code
Product: LibreOffice
Version: 7.4.2.3 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: trivial
Priority: medium
Component: BASIC
Assignee: [email protected]
Reporter: [email protected]
Description:
The property of the ImageControl that points to the image to be displayed is
different when viewed in the properties page of the dialog designer in the
Basic IDE ("Graphics") and when referenced in code ("ImageURL").
Steps to Reproduce:
1. View the properties page of ImageControl in dialog designer at design time.
The property is called "Graphics".
2. Write a line of code to dynamically change the image displayed in an
ImageControl. The property is called "ImageURL" (Example:
oDialog1.getModel().getByName("ImageControl1").ImageURL = sURL)
Actual Results:
Different names are used for the same property.
Expected Results:
The names should be the same in the dialog editor and in the line of code.
Reproducible: Always
User Profile Reset: No
Additional Info:
Although I have selected the severity "trivial", it is actually quite a
hindrance if you are trying to find guidance on how to change the property
"Graphics" of an ImageControl at runtime and are unable to find any information
because the property is named differently when used in code.
--
You are receiving this mail because:
You are the assignee for the bug.