1. Paweł Kasperek
  2. PowerBuilder
  3. Tuesday, 3 January 2023 09:36 AM UTC

Hello,

How can I set an item as non-selected on a listbox control?  I have got a listbox with 10 items and I would be shown all these, but ex. 5 items I would be set as non-selected.

Thank you for help me.

Pawel 

Accepted Answer
René Ullrich Accepted Answer Pending Moderation
  1. Tuesday, 3 January 2023 10:06 AM UTC
  2. PowerBuilder
  3. # Permalink

Hi Pawel,

Use the SetState function to select/unselect items in a listbox control with multiselect.

https://docs.appeon.com/pb2022/powerscript_reference/setState_func.html

HTH,

René

 

Comment
There are no comments made yet.


There are replies in this question but you are not allowed to view the replies from 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.