É uma desgraça quando isso acontece.
Aonde tem .NOT. ?
erro em button
Moderador: Moderadores
- JoséQuintas
- Administrador

- Mensagens: 20267
- Registrado em: 26 Fev 2007 11:59
- Localização: São Paulo-SP
erro em button
José M. C. Quintas
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"
https://github.com/JoseQuintas/
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"
https://github.com/JoseQuintas/
- JoséQuintas
- Administrador

- Mensagens: 20267
- Registrado em: 26 Fev 2007 11:59
- Localização: São Paulo-SP
erro em button
resolvido.
Encontrei DEFINE BUTTONEX nesse ch, e acrescentei.
Passou a redimensionar o ícone.
Encontrei DEFINE BUTTONEX nesse ch, e acrescentei.
Passou a redimensionar o ícone.
Código: Selecionar todos
#include "i_altsyntax.ch"
José M. C. Quintas
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"
https://github.com/JoseQuintas/
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"
https://github.com/JoseQuintas/
- JoséQuintas
- Administrador

- Mensagens: 20267
- Registrado em: 26 Fev 2007 11:59
- Localização: São Paulo-SP
erro em button
não reparei nisso, ou talvez estivesse na metade da alteração.
E faltou avisar:
Isso foi um teste modificando o DEFINE BUTTONEX pro @ row,col.
Voltei o fonte que estava usando antes.
Talvez agora eu possa modificar os outros que não tinham funcionado com DEFINE
E faltou avisar:
Isso foi um teste modificando o DEFINE BUTTONEX pro @ row,col.
Voltei o fonte que estava usando antes.
Código: Selecionar todos
#include "i_altsyntax.ch"
DEFINE BUTTONEX ( xControl )
PARENT ( xDlg )
ROW nRow
COL nCol
WIDTH nWidth
HEIGHT nHeight
ICON cResName
IMAGEWIDTH nWidth - 20
IMAGEHEIGHT nHeight - 20
CAPTION cCaption
ACTION Eval( bAction )
FONTNAME "verdana"
FONTSIZE 9
FONTBOLD .T.
FONTCOLOR GRAY
VERTICAL .T.
BACKCOLOR WHITE
FLAT .T.
NOXPSTYLE .T.
END BUTTONEX
José M. C. Quintas
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"
https://github.com/JoseQuintas/
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"
https://github.com/JoseQuintas/
-
ivanil
- Usuário Nível 3

- Mensagens: 166
- Registrado em: 11 Set 2004 15:13
- Localização: Florianópolis/SC
erro em button
Tudo que for usar minigui, inclua no topo do módulo #include <hmg.ch>; com o tempo vc pode querer enriquecer o modulo e este include que puseste pode não ser o suficiente e quebrar o código.JoséQuintas escreveu:Encontrei DEFINE BUTTONEX nesse ch, e acrescentei.
- JoséQuintas
- Administrador

- Mensagens: 20267
- Registrado em: 26 Fev 2007 11:59
- Localização: São Paulo-SP
erro em button
Nos fontes, incluo este ch
Já configura HWGUI, HMGE ou OOHG.
Mas já dá pra limpar um pouco, eliminei muito disso.
Nem queira saber .... acho que criei uma LIB
Dá pra chamar de QCS - qualquer coisa serve kkk
Já configura HWGUI, HMGE ou OOHG.
Mas já dá pra limpar um pouco, eliminei muito disso.
Código: Selecionar todos
#ifdef HBMK_HAS_HWGUI
#include "hwgui.ch"
#define CODE_HWGUI
#define CODE_HWGUI_OR_HMGE
#endif
#ifdef HBMK_HAS_HMGE
#include "hmg.ch"
#include "i_altsyntax.ch"
#define CODE_HMGE
#define CODE_HWGUI_OR_HMGE
#define CODE_HMGE_OR_OOHG
#endif
#ifdef HBMK_HAS_OOHG
#include "oohg.ch"
#define CODE_OOHG
#define CODE_HMGE_OR_OOHG
#endif
Dá pra chamar de QCS - qualquer coisa serve kkk
José M. C. Quintas
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"
https://github.com/JoseQuintas/
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"
https://github.com/JoseQuintas/