neto_23 Posted October 16, 2012 Report Share Posted October 16, 2012 gostaria de saber uma dica para a mudança de cor na hora que o combobox recebe o foco. fw10.8harbour-xDev.70 Studio-bcc582-Mysql-Pelles programadorcp80@hotmail.com.br ; Quote Link to comment Share on other sites More sharing options...
neto_23 Posted October 16, 2012 Author Report Share Posted October 16, 2012 gostaria de saber uma dica para a mudança de cor na hora que o combobox recebe o foco. fw10.8harbour-xDev.70 Studio-bcc582-Mysql-Pelles programadorcp80@hotmail.com.br ; Quote Link to comment Share on other sites More sharing options...
kapiaba Posted October 16, 2012 Report Share Posted October 16, 2012 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 Quote Link to comment Share on other sites More sharing options...
kapiaba Posted October 16, 2012 Report Share Posted October 16, 2012 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.