JUDSON ROSA Posted July 22, 2015 Report Share Posted July 22, 2015 Boa noite , estou tentando usar o TSButton , baixei o TSButton7 , compilei mas esta dando esses erros: Error: Unresolved external '_HB_FUN_GETFONTHEIGHT' referenced from TSBUTTON.OBJ Error: Unresolved external '_HB_FUN_ISALPHABITMAP' referenced from TSBUTTON.OBJ Error: Unresolved external '_HB_FUN_SBTNPAINT' referenced from TSBUTTON.OBJ no projeto coloquei assim: #include "TSButton.ch" compilo o TSBUTTON.PRG O que pode estar faltando ?? Quote Link to comment Share on other sites More sharing options...
JUDSON ROSA Posted July 22, 2015 Author Report Share Posted July 22, 2015 adicionei tambem o BPAINT.C , mas continua os mesmos erros. Quote Link to comment Share on other sites More sharing options...
Geraldo (gbsilva) Posted July 22, 2015 Report Share Posted July 22, 2015 Judson eu uso há tempo que nem sei a versão, mas só compilo o prg junto com meu projeto e ch. fica na pasta do .exe e funciona normal. Onde você baixou essa versão 7. Sds, Quote Link to comment Share on other sites More sharing options...
JUDSON ROSA Posted July 23, 2015 Author Report Share Posted July 23, 2015 Geraldo , vi que esse .zip nao veio com a lib , entao baixei a TSButton Version 7.0 Oct/31/2009 , coloquei a lib e ai parou de dar esses erros so que nao aparece a imagem @ 150,200 SBUTTON oBtnx OF oWnd PROMPT "NEW" FILENAME "C:\FWH9.09\TSBUTTON\TSBUTTON\BITMAPS\live.bmp" SIZE 80, 80 PIXEL ; ACTION MsgInfo( "Action 1" ) NOBOXTR TEXT ON_CENTER COLORS CLR_BLACK, CLR_HBLUE FONT oFont Quote Link to comment Share on other sites More sharing options...
JUDSON ROSA Posted July 23, 2015 Author Report Share Posted July 23, 2015 Acabei de testar , com file ou filename nao esta funcionando mais com resource acabou de funcionar rsrs Quote Link to comment Share on other sites More sharing options...
alex2002 Posted July 23, 2015 Report Share Posted July 23, 2015 Pessoal, Sugiro usar a ButtonBMP que é nativa. Porque se trocarem a versão do compilador é osso pra compilar as libs de terceiros. Quote Link to comment Share on other sites More sharing options...
JUDSON ROSA Posted July 23, 2015 Author Report Share Posted July 23, 2015 Alexandre é vero , mas o ButtonBMP faz o mesmo que o SBUTTON faz ? se fizer resolve o meu problema Quote Link to comment Share on other sites More sharing options...
kapiaba Posted July 23, 2015 Report Share Posted July 23, 2015 Veja \samples\testbubm.prg e outros exemplos. Quote Link to comment Share on other sites More sharing options...
JUDSON ROSA Posted July 23, 2015 Author Report Share Posted July 23, 2015 kapi para testar estes vou mudar para a versao fwh 13.06 pois uso a fwh 9.09 , ja tinha comprado faz tempo e por falta deste nunca tinha mudando , chegou a hora rs Quote Link to comment Share on other sites More sharing options...
kapiaba Posted July 23, 2015 Report Share Posted July 23, 2015 Assim não está bom? abs; Quote Link to comment Share on other sites More sharing options...
kapiaba Posted July 23, 2015 Report Share Posted July 23, 2015 Modernidade: \samples\testbtn4.prg Quote Link to comment Share on other sites More sharing options...
kapiaba Posted July 23, 2015 Report Share Posted July 23, 2015 Quem não chora não mama né JUDSON? Vai ter uma ferrari novinha última versão. o FWH15.05 está demais da conta. Quote Link to comment Share on other sites More sharing options...
JUDSON ROSA Posted July 23, 2015 Author Report Share Posted July 23, 2015 rs , apesar da crise to fechando aqui com o nosso amigo gilmer um consorcio para a compra da ferrari. rsrs kapiaba 1 Quote Link to comment Share on other sites More sharing options...
JUDSON ROSA Posted July 23, 2015 Author Report Share Posted July 23, 2015 Pessoal o BTNBMP nativa faz o que o SBUTTON faz , tive que mudar para a versao fwh 13.03 , pois nessa versa tem um exemplo testbtn4.prg com a propriedade oBtn:lEllipse = .T. deixa o botão redondo , ficou show de bola. @ 150,200 BTNBMP oBtn OF oWnd ; SIZE 128,128 ; PROMPT "Calculadora" resource "calc" 2007 PIXELS ; FONT oFont CENTER ; ACTION MsgInfo( "Yes" ) oBtn:lEllipse = .T. Quote Link to comment Share on other sites More sharing options...
alex2002 Posted July 26, 2015 Report Share Posted July 26, 2015 Pois é Judson, Desculpe pela demora. Eu usava a TSBUTTON mas quando migramos para as novas versões do FIVE achei por bem utilizar a ButtonBMP. Além do que a TSBUTTON tinha uns paus que eu tive que ficar acertando e tambem para não termos mais as dores de cabeça quando se migra de versão do próprio five. 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.