ram_bh Posted May 6, 2016 Report Share Posted May 6, 2016 Nobres Colegas, Em uma Windows eu defino um item na barra de mensagens para uma função que realiza a conexão com o banco de dados. Quero alterar o texto (tooltip) informando se o banco está ou não conectado. Define MsgItem oMsg Of oWnd:oMsgBar ; BitMap (cUniSer+cDirImg+"\organice.bmp") ; ToolTip "Conectar Banco de Dados" Action Conectar() Ao conectar o banco de dados quero alterar o texto para "Banco de dados conectado". Tentei oMsg:Tooltip := "Conectado" e outros testes mais e nada... Tem solução para isso!? Obrigado! Rodrigo Melo Belo Horizonte Quote Link to comment Share on other sites More sharing options...
Theotokos Posted May 7, 2016 Report Share Posted May 7, 2016 owndMain:oMsgBar:aItems[6]:cToolTip := "ALTERI O TOOLTIP" 6 -> é o item que quero alterar Quote Link to comment Share on other sites More sharing options...
ram_bh Posted May 9, 2016 Author Report Share Posted May 9, 2016 Theotokos, obrigado! Funcionando 100%! Rodrigo Melo Quote Link to comment Share on other sites More sharing options...
ram_bh Posted May 10, 2016 Author Report Share Posted May 10, 2016 Prezados, E trocar a imagem BMP do item, alguma ajuda!? Obrigado! Rodrigo Melo Quote Link to comment Share on other sites More sharing options...
Theotokos Posted May 11, 2016 Report Share Posted May 11, 2016 cBmpUsuario := "BMP\UsuaNivel.Bmp" oWndMain:oMsgBar:aItems[1]:hBitmap1 := ReadBitmap( 0, cBmpUsuario ) oWndMain:oMsgBar:Refresh() ram_bh 1 Quote Link to comment Share on other sites More sharing options...
ram_bh Posted May 11, 2016 Author Report Share Posted May 11, 2016 Theotokos, obrigado! 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.