[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 861
  • Last Modified:

change highlight color in Powerbuilder

I would like to change the highlight color in a datawindow when the row is selected. Another color instead of the blue.
0
Placide
Asked:
Placide
1 Solution
 
virtuadeptCommented:
You can set properties for your datawindow columns (one is Background.Color) in the Clicked() event of the datawindow control. If you want this behavior to be on all datawindows in your application, then create a user object that inherits from "datawindow" that you will use instead of the basic datawindow on all of your forms. So instead of dropping "datawindow" controls on your forms, you would have a u_dw or some such user object and drop those on your forms and that way you can have an inherited level to control global behavior on all of your datawindow controls. Even better, take a look at the PFC (PowerBuilder Foundation Class) library which has a "u_dw" control with some great functionality already included.
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now