Jump to content
Fivewin Brasil

combobox com cor de selecionado


neto_23

Recommended Posts

Não tenho certeza se vai funcionar, pois aboli o COMBO faz tempo...

fwh...\source\classes\COMBOBOX.PRG

Copie para o seu projeto

edit e veja o comando SETCOLOR(), brinque de trocar as cores na classe para ver se resolve.

abs,

João Santos - São Paulo.

joao@pleno.com.br

Fone: (11) 3106-2832 / 5150-7341 - TIM

https://www.facebook.com/kapiaba

FWH 2.7 - xHARBOUR WorkShop.Exe

Link to comment
Share on other sites

Veja se te ajuda ahi:


REDEFINE COMBOBOX oCbx VAR cItem ITEMS { "Testing", "this", "ComboBox" } ;

ID 110 OF oDlg ;

ON CHANGE ( oSayItem:cTitle := cItem,; // We should use also :SetText()

oSayAt:cTitle := ":nAt = " + Str( oCbx:nAt, 2 ) ) ;

VALID ( MsgBeep(), .t. ) COLOR "W*/R+"

/*

OU

REDEFINE COMBOBOX oCb8 VAR wG[36] ITEMS VPROBA ;

STYLE CBS_DROPDOWN ;

COLOR "B*/W+" ;

ID 131 OF oDlgrv

*/

id=code>id=code>

João Santos - São Paulo.

joao@pleno.com.br

Fone: (11) 3106-2832 / 5150-7341 - TIM

https://www.facebook.com/kapiaba

FWH 2.7 - xHARBOUR WorkShop.Exe

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...