View previous topic :: View next topic |
Author |
Message |
MarkTrubo Contributor
Joined: 27 May 2001 Posts: 148 Location: Long Island, NY
|
Posted: Fri Dec 23, 2005 12:54 am Post subject: List Dialog Element... |
|
|
Hey gang,
I'm working on my order history program and when you pull up a customer, it shows the date of all their orders. Click on one and it populates a screen with the details. Now I'm adding in accounting stuff and I want to color or somehow mark items in the order list that are overdue for payment. Anyway to change the color or put a background color on individual items in a list on a dialog?
If not, any other ideas.
Thanks! |
|
Back to top |
|
|
Aslan Valued Contributor
Joined: 31 May 2001 Posts: 589 Location: Memphis, TN USA
|
Posted: Fri Dec 23, 2005 1:05 am Post subject: |
|
|
The only way that I can think off for doing this with VDS is use the 'Richedit' element in VDSOBJ.DLL |
|
Back to top |
|
|
MarkTrubo Contributor
Joined: 27 May 2001 Posts: 148 Location: Long Island, NY
|
Posted: Sat Dec 24, 2005 11:32 am Post subject: |
|
|
That DLL is kind of big -- I'm trying to keep this prog lean and fast. I don't have to change the text color, I could even figure the position in the list and put color behind it or somthing -- just want it to stand out.
Ideas? |
|
Back to top |
|
|
Aslan Valued Contributor
Joined: 31 May 2001 Posts: 589 Location: Memphis, TN USA
|
Posted: Sat Dec 24, 2005 6:26 pm Post subject: |
|
|
The only other way I can think of with VDS is using the Table element with a single column and maybe use a bitmap to mark the rows that are delinquent.
If you absolutely have to use colored text you could also use the Table element, which is actually a ListView Control, and some complicated API.
This should be do-able but will take some time to work out the API, unless someone has already figured it out. |
|
Back to top |
|
|
|