Ariston Santos Posted December 8, 2015 Report Share Posted December 8, 2015 Olá, amigos. Como faço para mostrar o conteudo do item selecionado como tooltip do COMBOBOX? E se selecionar outro item, mudar o tip para o novo item selecionado? Grato! Ronaldbuch 1 Quote Link to comment Share on other sites More sharing options...
kapiaba Posted December 8, 2015 Report Share Posted December 8, 2015 Tente: REDEFINE COMBOBOX oTemporada VAR cTemporada ITEMS aTemporada ID 111 OF oFld:aDialogs[1] ; ON CHANGE Temporada:cTooltip:=cTemporada Abs. Quote Link to comment Share on other sites More sharing options...
Ariston Santos Posted December 9, 2015 Author Report Share Posted December 9, 2015 Obrigado, amigo. Para não usar o ON CHANGE, descobri esta outra maneira: REDEFINE COMBOBOX oCtr67 VAR cOriPr ID 67 OF oFld:aDialogs[3] UPDATE ITEMS aOrigPr oCtr67:cToolTip := {|cTip|cTip:=oCbxToolTip(oCtr67)} //---------------------------------------------------------------------------// FUNCTION oCbxToolTip(oCtr67) RETURN oCtr67:GetText() kapiaba 1 Quote Link to comment Share on other sites More sharing options...
kapiaba Posted December 9, 2015 Report Share Posted December 9, 2015 Good look. Quote Link to comment Share on other sites More sharing options...
Ariston Santos Posted December 9, 2015 Author Report Share Posted December 9, 2015 Kkk Good LUCK fou you too. I like you guy. I am you fan. kapiaba 1 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.