1. Davide Chignoli
  2. PowerBuilder
  3. Wednesday, 19 April 2023 14:39 PM UTC

Good morning everyone,
I have a report to make in reference to the user object.
By creating the treeview object with the image array that composes it. By calling the function: SetOverlayPicture(declaration index, array image index) it is not possible to declare more than 15 elements.
If the 16th element is declared, the function returns value -1.
Is there any solution how I can use more than 15 items?

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 19 April 2023 15:26 PM UTC
  2. PowerBuilder
  3. # 1

Hi Davide;

  I just tested this OK with over 30 images assigned in the TV control.

  What version & build of PB are you using?

Regards ... Chris

Comment
  1. Davide Chignoli
  2. Wednesday, 19 April 2023 15:37 PM UTC
Hi Chris,

Use:

Version PB 2021

Builds 1509

Runtime 21.0.0.1509



Greetings
  1. Helpful
  1. Chris Pollach @Appeon
  2. Wednesday, 19 April 2023 16:18 PM UTC
OK .. I was now able to recreate your maximum Overlay issue of up to 16 images. After that, the PB 2021 runtime will not accept any more.

Even though I had 50 Picture & 50 state images in the Tree-view. So it seems that the overlay limit is not dependent on those other array elements.

FYI: The same 16 overlay image restriction is also there in PB 2022.

Please open a Support Ticket for this issue. There are probably two issues: A) Missing limitation limit in the documentation and B) the 16 overlay image limitation (maybe Appeon needs to increase this old PowerSoft restriction).
  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.