 |
JLRodgers Level: Moderator
 Registered: 04-04-2002 Posts: 1617
|
Re: Passing Font color from form to form
You wouldn't be passing the color itself, just comparing a value "open/closed" to that of what's in a database or wherever you have the records stored.
Since you have to be able to retrieve the records to display them on the form so that a tech sees the open/closed items, all you have to do is check at that point whether or not it's open or closed, and change the color at that time.
____________________________
Everywhere's Local (classifieds, job postings, & more for everycity in the world - user entered)
|
|
12-12-2005 at 09:00 PM |
|
|
JLRodgers Level: Moderator
 Registered: 04-04-2002 Posts: 1617
|
Re: Passing Font color from form to form
So are you saying that what you want is a combobox that has red font and black font in it?
Just thinking about it... that could make it difficult eventualy. Have 10-20 items, it'd be easy to view... 50, 60, where most are closed...
Offhand... if a tech's looking for open orders, I can't see a reason why they'd want to see the closed ones either. I'd have one form for open requests, and another for closed. Or, if you need them on the same form, have one combobox for closed another for open, or just an option of "show closed" "show open" on the form, and re-load the combobox based on it's selection.
To have multi-color items in a combobox, will require subclassing I believe.
____________________________
Everywhere's Local (classifieds, job postings, & more for everycity in the world - user entered)
|
|
19-12-2005 at 09:09 PM |
|
|
|
|
 |
 |