Hola amigos del foro:
Es posible cambiar el color del COMBOBOX cuando este toma el foco?
Saludos
Color del COMBOBOX?
- Armando
- Posts: 3271
- Joined: Fri Oct 07, 2005 8:20 pm
- Location: Toluca, México
- Been thanked: 2 times
- Contact:
Color del COMBOBOX?
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
- Rick Lipkin
- Posts: 2668
- Joined: Fri Oct 07, 2005 1:50 pm
- Location: Columbia, South Carolina USA
Re: Color del COMBOBOX?
Armando
Try this code with the ON INIT clause ..
This will allow you to see the combobox as you tab thru your fields ...
Let me know if this is the effect you are looking for ..
Rick Lipkin
Try this code with the ON INIT clause ..
Code: Select all | Expand
ON INIT ( oDlg:PostMsg( WM_KEYDOWN, VK_TAB ), ;
This will allow you to see the combobox as you tab thru your fields ...
Let me know if this is the effect you are looking for ..
Rick Lipkin
- Armando
- Posts: 3271
- Joined: Fri Oct 07, 2005 8:20 pm
- Location: Toluca, México
- Been thanked: 2 times
- Contact:
Re: Color del COMBOBOX?
Rick:
Thanks for your kind and quick response, but no, it's not what I need.
I need to change the color of the combobox when it has the focus
With best regards
Thanks for your kind and quick response, but no, it's not what I need.
I need to change the color of the combobox when it has the focus
With best regards
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
- karinha
- Posts: 7932
- Joined: Tue Dec 20, 2005 7:36 pm
- Location: São Paulo - Brasil
- Been thanked: 3 times
- Contact:
- karinha
- Posts: 7932
- Joined: Tue Dec 20, 2005 7:36 pm
- Location: São Paulo - Brasil
- Been thanked: 3 times
- Contact:
Re: Color del COMBOBOX?
March 2015
==========
* New: function SetCbxColorFocus( nClrFocus ) same as SetGetColorFocus() but for
ComboBoxes. We tried to take these functions into Class TControl may there are
many side effects for other controls.
* Enhancement: Class TComboBox support for color change on focus gain/loose.
==========
* New: function SetCbxColorFocus( nClrFocus ) same as SetGetColorFocus() but for
ComboBoxes. We tried to take these functions into Class TControl may there are
many side effects for other controls.
* Enhancement: Class TComboBox support for color change on focus gain/loose.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
- Armando
- Posts: 3271
- Joined: Fri Oct 07, 2005 8:20 pm
- Location: Toluca, México
- Been thanked: 2 times
- Contact:
Re: Color del COMBOBOX?
Karinha:
Algún ejemplo?
Saludos
Algún ejemplo?
Saludos
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
-
- Posts: 141
- Joined: Thu Mar 16, 2017 4:08 pm
- Location: Ecuador
Re: Color del COMBOBOX?
Estimado armando
Solo hay que colocar la función al inicio del programa y listo.
Saludos
Fernando Espinoza A.
Solo hay que colocar la función al inicio del programa y listo.
Saludos
Fernando Espinoza A.
- Armando
- Posts: 3271
- Joined: Fri Oct 07, 2005 8:20 pm
- Location: Toluca, México
- Been thanked: 2 times
- Contact:
Re: Color del COMBOBOX?
Fer:
Llevas razón, estaba probando con xHarbour FWH0810 y
parece que necesita Harbour
Saludos
Llevas razón, estaba probando con xHarbour FWH0810 y
parece que necesita Harbour
![Embarassed :oops:](./images/smilies/icon_redface.gif)
Saludos
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero