Solved

change highlight color in Powerbuilder

Posted on 2012-12-31
1
828 Views
Last Modified: 2013-01-08
I would like to change the highlight color in a datawindow when the row is selected. Another color instead of the blue.
0
Comment
Question by:Placide
1 Comment
 
LVL 8

Accepted Solution

by:
virtuadept earned 500 total points
ID: 38755560
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand columnThat will then direct you to their download page.From that page s…
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question