Página 1 de 1
oComboBox -- changing the color of list items
Publicado: Mié Jun 24, 2009 6:57 pm
por g.s.rogers
Is it possible to change the color of an item in the drop drown box based
upon some other field's value? I'd like to show "inactive" values in a
different color than "active" values. There doesn't appear to be a method
like OnDrawRow like I would use in a TDBBrowse object.
TIA,
Gary
oComboBox -- changing the color of list items
Publicado: Mié Jun 24, 2009 8:00 pm
por ignacio
Gary,
I am afraid is not possible. That control is a Windows native API control
that does not include that feature.
Regards,
--
Ignacio Ortiz de Zúñiga
Xailer support / Soporte de Xailer
http://www.xailer.com
http://www.xailer.info
"Gary S. Rogers" <
g.s.rogers@att.net> escribió en el mensaje
news:[email=4a425b17@svctag-j7w3v3j....]4a425b17@svctag-j7w3v3j....[/email]
> Is it possible to change the color of an item in the drop drown box based
> upon some other field's value? I'd like to show "inactive" values in a
> different color than "active" values. There doesn't appear to be a method
> like OnDrawRow like I would use in a TDBBrowse object.
>
> TIA,
> Gary
>
oComboBox -- changing the color of list items
Publicado: Mié Jun 24, 2009 8:00 pm
por ignacio
Gary,
I am afraid is not possible. That control is a Windows native API control
that does not include that feature.
Regards,
--
Ignacio Ortiz de Zúñiga
Xailer support / Soporte de Xailer
http://www.xailer.com
http://www.xailer.info
"Gary S. Rogers" <
g.s.rogers@att.net> escribió en el mensaje
news:[email=4a425b17@svctag-j7w3v3j....]4a425b17@svctag-j7w3v3j....[/email]
> Is it possible to change the color of an item in the drop drown box based
> upon some other field's value? I'd like to show "inactive" values in a
> different color than "active" values. There doesn't appear to be a method
> like OnDrawRow like I would use in a TDBBrowse object.
>
> TIA,
> Gary
>