1. Sivaprakash BKR
  2. PowerBuilder
  3. Friday, 10 March 2023 11:21 AM UTC

Hello,

PB 2022 B 1892, No theme

Need to set background color of a DDLB, which is inside a datawindow column.   By default, it's white and I could not find any way to change it in the properties panel (or I'm missing?).   

Any modify command can do it?  Something like

dw_1.Modify('fieldname.ddlb.backcolor = 232323')

Happiness Always
BKR Sivaprakash

 

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 10 March 2023 14:34 PM UTC
  2. PowerBuilder
  3. # 1

Hi Sivaprakash ;

  FWIW: When I need to do this, I replace the DDLB with a DDDW. As the DDDW is a child DWO, I can control all of it's UI at run time.

Food for thought.   ;-)

Regards ... Chris

Comment
  1. Sivaprakash BKR
  2. Saturday, 11 March 2023 07:25 AM UTC
Thanks Chris,

So, no solution if we keep it as DDLB..
  1. Helpful
  1. Miguel Leeuwe
  2. Saturday, 11 March 2023 14:45 PM UTC
To not have to access any tables and insert any data into those, you can just create an external dw and insert some fixed data into it. It's not a lot of work and I'm sure you know that anyway already, just my extra 2cts. In my opinion DDLB aren't very versatile in the first place.

regards.
  1. Helpful
  1. Chris Pollach @Appeon
  2. Saturday, 11 March 2023 16:14 PM UTC
No, not that I know of.
  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.