1. santosh kumar balla
  2. PowerBuilder
  3. Thursday, 5 September 2024 07:20 AM UTC

Hi Team,

Previously, we worked with PB 2021, and last year we migrated to PB 2022 R2. After the migration, we encountered an issue with a dropdown button that loads options from an SRD file. On the first click, all options are visible (e.g. 4 options). However, after selecting an option and clicking again, only a few options (e.g. 2 options) are displayed initially. Although all options are available if you scroll, the scroll bar is not present. We did not experience this issue with PB 2017 or PB 2021, but we are facing it with PB 2022 R2. We would like the dropdown button to display all options directly without requiring scrolling.

 

Thanks,

Santosh

Benjamin Hübner Accepted Answer Pending Moderation
  1. Thursday, 7 November 2024 11:25 AM UTC
  2. PowerBuilder
  3. # 1

Hi @all,

We have a similar phenomenon here.


With PowerBuilder version 2021 Build 1509, the DDDW, which is filled with an external DW as DWChild, worked. :)
It no longer works with PowerBuilder Version 2022 R3 Build 3356. :(

 

The DWChild is dynamically filled with data once. When you open the dropdown, all data is displayed.

As soon as an entry is selected or another entry is selected, the height of the drop-down is no longer displayed correctly.

The data records are still available because you can select them using the arrow keys.

As far as we know, you cannot influence the height of the displayed DropDown box, but only specify how many lines should be displayed in the DropDown. The DWChild therefore specifies the row height. The DDDW object will therefore calculate the height itself.

 

When creating the screenshot, I noticed that if the application loses the focus and then gets it back, the drop-down area is displayed correctly again!

Maybe this will help with troubleshooting in the PowerBuilder runtime environment? ;)

 

regards

Benjamin

Comment
  1. Benjamin Hübner
  2. Thursday, 7 November 2024 12:57 PM UTC
Hi again,



I have tried to create a test application. With a very simple object hierarchy, the object behaves as expected.

Therefore, unfortunately, I cannot provide an example.



Benjamin
  1. Helpful
  1. Kai Zhao @Appeon
  2. Friday, 8 November 2024 03:32 AM UTC
Hi Benjamin,

This issue may be related to the new "AutoCompleteMode" feature in the DDDW/DDLB column. Which AutoCompleteMode are you using? The problem might be triggered by code in events like itemchanged, etc. Please open a support ticket for this issue and provide the datawindow object and related script for further investigation. Thanks!

Please note that if you have added scripts to implement the auto-complete feature, for example, filtering data according to the input value in the EditChanged event, then you should not enable the AutoCompleteMode option.

Regards,
Kai
  1. Helpful
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Friday, 13 September 2024 13:32 PM UTC
  2. PowerBuilder
  3. # 2

Create a small demo app that shows the problem and attach it to a reply so we can see what it is doing. Then attach it to the bug and ask them to look at it.

Comment
  1. John Fauss
  2. Friday, 13 September 2024 14:21 PM UTC
You beat me to it, Roland. This is the only way Santosh will be able to receive any assistance solving this issue.
  1. Helpful
There are no comments made yet.
santosh kumar balla Accepted Answer Pending Moderation
  1. Wednesday, 11 September 2024 04:16 AM UTC
  2. PowerBuilder
  3. # 3

Hi, we tried by installing the PB 2022 R3(build 3391) but still it's not working. And the Style Type of the dropdown is "DropDownListBox", and we gave the static values in the code table. 

 

Thanks,

Santosh

Comment
  1. Armeen Mazda @Appeon
  2. Wednesday, 11 September 2024 10:58 AM UTC
Please submit test case and open support ticket: https://www.appeon.com/standardsupport/newbug
  1. Helpful
  1. santosh kumar balla
  2. Friday, 13 September 2024 11:05 AM UTC
we raised it, but got reply like there are no issues currently with dropdown in latest R3.



We tried with DWDropdown type but still the error is there. And this issue is happening in only one window in our application. It is not happening in all the dropdown's is there any specific place to check or any properties to check.
  1. Helpful
  1. Kai Zhao @Appeon
  2. Friday, 8 November 2024 03:31 AM UTC
Hi Santosh,

This issue may be related to the new "AutoCompleteMode" feature in the DDDW/DDLB column. Which AutoCompleteMode are you using? The problem might be triggered by code in events like itemchanged, etc. Please open a support ticket for this issue and provide the datawindow object and related script for further investigation. Thanks!

Please note that if you have added scripts to implement the auto-complete feature, for example, filtering data according to the input value in the EditChanged event, then you should not enable the AutoCompleteMode option.

Regards,
Kai
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.