TSBUTTON

TSBUTTON

Postby ICO » Thu Aug 13, 2009 1:45 pm

Bom dia a todos
Estou tentando usar sButton em dialog e tá me retornando este erro

Error description: Warning BASE/1004 Message not found: TBAR:LOFFICE
Args:

Stack Calls
===========
Called from: source\rtl\tobject.prg => TBAR:ERROR(172)
Called from: source\rtl\tobject.prg => TBAR:MSGNOTFOUND(205)
Called from: source\rtl\tobject.prg => TBAR:LOFFICE(0)
Called from: C:\PESSOAL9\FONTE\TSBUTTON.PRG => TSBUTTON:NEWBAR(412)

Se troco sButton por Button funciona perfeitamente..

o código é este...
Code: Select all  Expand view  RUN
Function Barra2(odlg)
Local obtnB[5]
  Define ButtonBar oBar2 size 60,60 Of oDlg TOP 2007
  Define SButton obtnB[1] Prompt "Ativar" Resource "Seguir"  Of oBar2
  Define sButton obtnB1[2] Prompt "&Sair"  Resource "#8001"  Of oBar2
Return(0)
 


A versão da Tsbutton é 6.2

Obrigado..
Luiz Arruda [ ico.corumba@gmail.com ]
Corumba/MS - Brasil
FiveWin 9.04
[x]Harbour
xDev
WS
User avatar
ICO
 
Posts: 82
Joined: Fri Mar 13, 2009 6:51 pm

Re: TSBUTTON

Postby MarioG » Fri Aug 14, 2009 11:37 am

Estimado
Controle que tsbutton.ch que usa, sea de la version 6.2

Saludos
Resistencia - "Ciudad de las Esculturas"
Chaco - Argentina
User avatar
MarioG
 
Posts: 1380
Joined: Fri Oct 14, 2005 1:28 pm
Location: Resistencia - Chaco - AR

Re: TSBUTTON

Postby ICO » Fri Aug 14, 2009 1:32 pm

Sim. uso ela em versoes anteriores do FW e nunca tive problemas, isso esta ocorrendo com FW 9.04..
Luiz Arruda [ ico.corumba@gmail.com ]
Corumba/MS - Brasil
FiveWin 9.04
[x]Harbour
xDev
WS
User avatar
ICO
 
Posts: 82
Joined: Fri Mar 13, 2009 6:51 pm

Re: TSBUTTON

Postby MarioG » Fri Aug 14, 2009 2:29 pm

Tengo la version 6.3 05/2008 escribame a mi privado y se la mando

Saludos
Resistencia - "Ciudad de las Esculturas"
Chaco - Argentina
User avatar
MarioG
 
Posts: 1380
Joined: Fri Oct 14, 2005 1:28 pm
Location: Resistencia - Chaco - AR

Re: TSBUTTON

Postby ICO » Fri Aug 14, 2009 2:35 pm

MarioG wrote:Tengo la version 6.3 05/2008 escribame a mi privado y se la mando

Saludos


Ok!!

Abraços..
Luiz Arruda [ ico.corumba@gmail.com ]
Corumba/MS - Brasil
FiveWin 9.04
[x]Harbour
xDev
WS
User avatar
ICO
 
Posts: 82
Joined: Fri Mar 13, 2009 6:51 pm

Re: TSBUTTON

Postby mmercado » Fri Aug 14, 2009 11:52 pm

Hola Luiz:

Cambia esta instrucción:
Define ButtonBar oBar2 size 60,60 Of oDlg TOP 2007

Por esta:
Define SButtonBar oBar2 size 60,60 Of oDlg TOP OFFICE

Un abrazo.

Manuel Mercado.
manuelmercado at prodigy dot net dot mx
User avatar
mmercado
 
Posts: 782
Joined: Wed Dec 19, 2007 7:50 am
Location: Salamanca, Gto., México

Re: TSBUTTON

Postby ICO » Mon Aug 17, 2009 5:41 pm

Pessoal desculpe a demora em responder.. agora não estou nem conseguindo compilar com a Tsbutton vejam os erros;
Code: Select all  Expand view  RUN
Executando: ILINK32 @B32.BC
Turbo Incremental Link 5.65 Copyright (c) 1997-2002 Borland
Error: Unresolved external '_HB_FUN_GETFONTHEIGHT' referenced from OBJ\TSBUTTON.OBJ
Error: Unresolved external '_HB_FUN_SBTNPAINT' referenced from OBJ\TSBUTTON.OBJ
Error: Unresolved external '_HB_FUN_SBARNEW' referenced from OBJ\TSBAR.OBJ
Error: Unresolved external '_HB_FUN_MAKESEPARATOR' referenced from OBJ\TSBAR.OBJ
Error: Unresolved external '_HB_FUN_DARKCOLOR' referenced from OBJ\TSTSAY.OBJ
Error: Unresolved external '_HB_FUN_SGRADIENT' referenced from OBJ\TSGRADIE.OBJ
Error: Unresolved external '_HB_FUN_DRAWBOXES' referenced from OBJ\TSLINES.OBJ
Error: Unresolved external '_HB_FUN_DRAWRADIO' referenced from OBJ\TSRADIO.OBJ
 


To compilando todos os arquivos da pasta source\classes..

Obrigado..
Luiz Arruda [ ico.corumba@gmail.com ]
Corumba/MS - Brasil
FiveWin 9.04
[x]Harbour
xDev
WS
User avatar
ICO
 
Posts: 82
Joined: Fri Mar 13, 2009 6:51 pm

Re: TSBUTTON

Postby ICO » Mon Aug 17, 2009 6:04 pm

Consegui compilar.. porém para isso tenho que
compilar junto

Tsbutton.prg da pasta \sources\classes
sbutton.OBJ da pasta \Tsbutton\obj
bPaint.C da pasta \sources\function
bPaint.OBJ da pasta \Tsbutton\OBJ

Se eu retirar qualquer um deles não compila e da o erro citado...

Obrigado..
Luiz Arruda [ ico.corumba@gmail.com ]
Corumba/MS - Brasil
FiveWin 9.04
[x]Harbour
xDev
WS
User avatar
ICO
 
Posts: 82
Joined: Fri Mar 13, 2009 6:51 pm


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 75 guests