Clipper On Line • Ver Tópico - HMG Releases - Atualizações

HMG Releases - Atualizações

Projeto MiniGui - Biblioteca visual para Harbour/xHarbour

Moderador: Moderadores

 

HMG 3.2 (Stable)

Mensagempor Claudio Soto » 25 Jan 2014 11:20

Hi All,
this is a patch for HMG: http://www.hmgforum.com/download/file.php?id=4192

1) unzip HMG.3.2_patch2.rar file in folder c:\hmg.3.2\

2) execute c:\hmg.3.2\BuildLib.bat

See demo: C:\hmg.3.2\SAMPLES\Controls\RichEditBox


1) The documentation was rearranged (e.g. DISABLE/ENABLE EVENTS, CREATE EVENTS and READ KEYBOARD FUNCTIONS is moved to Advanced topic)

2) New Features (see doc):

***************
* RICHEDITBOX
***************

New Properties:
---------------
FontName
FontSize
FontBold
FontItalic
FontUnderline
FontStrikeOut
FontColor
FontBackColor
FontScript
Link
GetClickLinkRange
GetClickLinkText
RTFTextMode
AutoURLDetect
Zoom
SelectRange
CaretPos
Value
ViewRect
GetSelectText
GetTextLength
GetTextRange
GetPosChar
AddText
AddTextAndSelect
CanPaste
CanUndo
CanRedo
BackGroundColor
ParaAlignment
ParaNumbering
ParaNumberingStyle
ParaNumberingStart
ParaOffset
ParaLineSpacing
ParaIndent
FindText
ReplaceText
ReplaceAllText

New Methods:
-------------
SelectAll
UnSelectAll
SelCopy
SelPaste
SelCut
SelClear
Undo
Redo
ClearUndoBuffer
RTFLoadFile
RTFSaveFile
RTFPrint

New at definition:
------------------
NOHSCROLL
NOVSCROLL
ON SELECT
ON LINK
ON VSCROLL

******************
* SELECT PRINTER
******************

OpenPrinterGetDC()
OpenPrinterGetPageDC()
IsPrintPageMetaFile()
OpenPrinterGetPageWidth()
OpenPrinterGetPageHeight()

********************
* DEFINE WINDOW
********************

<FormName>.Handle
<FormName>.Index
<FormName>.IsMinimized
<FormName>.IsMaximized
<FormName>.ClientAreaWidth
<FormName>.ClientAreaHeight

*****************
* New Functions
*****************
- FindTextDialog
- ReplaceTextDialog
- HMG_LoadResourceRawFile ( cFileName, cTypeResource | nTypeResourceID ) --> cData
- GetFontList ( [ hDC ] , [ cFontFamilyName ] , [ nCharSet ] , [ nPitch ] , [ nFontType ] , [ lSortCaseSensitive ] , [ @aFontName ] )
- System.EmptyClipboard

********************
* Enanced Function
********************
- GetColor ( [ aDefaultColor ], [ @aCustomColors ], [ lFullOpenBox ] )
Saludos.
Dr. Claudio Soto
(Uruguay)
http://srvet.blogspot.com
Avatar de usuário

Claudio Soto
Colaborador

Colaborador
 
Mensagens: 555
Data de registro: 27 Ago 2012 12:31
Cidade/Estado: Uruguay
Curtiu: 35 vezes
Mens.Curtidas: 166 vezes

HMG.3.3.0 (32/64 bits)

Mensagempor Claudio Soto » 24 Mai 2014 19:37

A partir de la versión HMG.3.3.0, HMG oficial genera aplicaciones en 32 y en 64 bits.

http://www.hmgforum.com/viewtopic.php?p=34551&f=2#p34551
Saludos.
Dr. Claudio Soto
(Uruguay)
http://srvet.blogspot.com
Avatar de usuário

Claudio Soto
Colaborador

Colaborador
 
Mensagens: 555
Data de registro: 27 Ago 2012 12:31
Cidade/Estado: Uruguay
Curtiu: 35 vezes
Mens.Curtidas: 166 vezes

HMG Releases - Atualizações

Mensagempor Claudio Soto » 03 Jun 2014 08:32

Rathinagiri escreveu:Dear HMGers,

This is yet another milestone in the history of HMG. With the help of Dr. Claudio Soto, we are entering into the era of 64 Bits.

You can download the HMG 64 Bits as a patch for HMG 3.3.0 (Stable) version. Please apply this as a patch over HMG.3.3.0 and re-build all the libraries in 64 Bits using corresponding Batch files already available. IDE is so designed to compile both in 32/64 Bits.

Download is available here. (74.8 MB) http://sourceforge.net/projects/hmg/files/HMG3/HMG-64bits.3.3.0.zip/download

Enjoy!


Pasos:

1) Instalar la versión HMG.3.3.0 (32-bits) https://sourceforge.net/projects/hmg/

2) Instalar el parche de 64-bits http://sourceforge.net/projects/hmg/files/HMG3/HMG-64bits.3.3.0.zip/download

Para generar aplicaciones en 64-bits usar: build64.bat o con el IDE seleccionar la opción "Build" del menu principal.

Changelog:
-HMG 3.3.0 (Stable) 2014/05/24
   - Updated to latest Harbour Nightly Build (2014-05-06)
   - Following libraries in HFCL are now in-built in the main library
      - BosTaurus
      - HMG_HPDF
   - New functions in BosTaurus library:
      - BT_BitmapLoadEMF ( cFileName, [ aBackgroundFillColor ], [ nNewWidth ], [ nNewHeight ], [ ModeStretch ] )  ---> Return hBITMAP
      - BT_DrawFillFlood ( hDC, Row, Col, aColorRGBFill )     
   - Re-arrangement and Improvements in HMG Documentation
   - Demo folders are re-arranged according to the HMG Documentation order (Contributed by Pablo César)
   - New demos:
      - SAMPLES\Controls\RichEditBox
      - SAMPLES\Controls\Grid\GridOnKeyOnClick
      - SAMPLES\Miscellaneous\MoveResizeControl
      - SAMPLES\Controls\ListBox\ListBox_4 ( Contributed By Pablo César )
      - SAMPLES\UNICODE\BOX_DRAWING ( Contributed By Pablo César )
      - Enhanced SAMPLES\Controls\Grid\GridIncrementalSearch
   - New Features in Grid Control
      - It is now possible to effectively control the user events in Grid. At definition the following directives are possible now.
         - [ ON CLICK <OnClickProcedure> ]
         - [ ON KEY <OnKeyProcedure> ]
         - [ EDITOPTION <nEditOption> ]     
         - <ParentWindowName>.<GridControlName>.CellRowFocused   --> nCellRowIndex
         - <ParentWindowName>.<GridControlName>.CellColFocused   --> nCellColIndex
         - <ParentWindowName>.<GridControlName>.CellRowClicked   --> nCellRowIndex
         - <ParentWindowName>.<GridControlName>.CellColClicked   --> nCellColIndex
         - <ParentWindowName>.<GridControlName>.CellNavigation [ := | --> ] lBoolean
         - <ParentWindowName>.<GridControlName>.EditOption     [ := | --> ] GRID_EDIT_DEFAULT | GRID_EDIT_SELECTALL | GRID_EDIT_INSERTBLANK | GRID_EDIT_INSERTCHAR | GRID_EDIT_REPLACEALL         
      - For more details please see Grid Doc.
   - New Printer related functions
      - OpenPrinterGetDC()
      - OpenPrinterGetPageDC()
      - IsPrintPageMetaFile()
      - OpenPrinterGetPageWidth()
      - OpenPrinterGetPageHeight()
   - New Runtime Window Handling
      - ThisWindow|<FormName>.Handle            --> nFormHandle
      - ThisWindow|<FormName>.Index             --> nFormIndex
      - ThisWindow|<FormName>.IsMinimized       --> lBoolean
      - ThisWindow|<FormName>.IsMaximized       --> lBoolean
      - ThisWindow|<FormName>.ClientAreaWidth   --> nWidth
      - ThisWindow|<FormName>.ClientAreaHeight  --> nHeight
      - ThisWindow|<FormName>.NoCaption   [ := | --> ] lBoolean
      - ThisWindow|<FormName>.NoMaximize  [ := | --> ] lBoolean
      - ThisWindow|<FormName>.NoMinimize  [ := | --> ] lBoolean
      - ThisWindow|<FormName>.NoSize      [ := | --> ] lBoolean
      - ThisWindow|<FormName>.NoSysMenu   [ := | --> ] lBoolean
      - ThisWindow|<FormName>.HScroll     [ := | --> ] lBoolean
      - ThisWindow|<FormName>.VScroll     [ := | --> ] lBoolean
      - ThisWindow|<FormName>.Enabled     [ := | --> ] lBoolean
      - ThisWindow|<FormName>.AlphaBlendTransparent := nAlphaBlend (0 to 255, Completely Transparent = 0, Opaque = 255)
      - ThisWindow|<FormName>.BackColorTransparent  := aRGBColor
   - New Functions
      - FindTextDialog
      - ReplaceTextDialog
      - HMG_LoadResourceRawFile ( cFileName, cTypeResource | nTypeResourceID ) --> cData
      - GetFontList ( [ hDC ] , [ cFontFamilyName ] , [ nCharSet ] , [ nPitch ] , [ nFontType ] , [ lSortCaseSensitive ] , [ @aFontName ] )
      - System.EmptyClipboard
      - SET DIALOGBOX POSITION: Sets the position of the dialog boxes (FindTextDialog, GetColor, GetFile, GetFolder, GetFont, MessageBoxTimeout, MsgXXX, PutFile, ReplaceTextDialog, SELECT PRINTER, etc)
         - SET DIALOGBOX [ POSITION ] ROW <nRow>|<@VarCodeBlockRow>|<NIL>   COL <nCol>|<@VarCodeBlockCol>|<NIL>
         - SET DIALOGBOX [ POSITION ] CENTER OF PARENT
         - SET DIALOGBOX [ POSITION ] CENTER OF <hWnd>
         - SET DIALOGBOX [ POSITION ] CENTER OF DESKTOP
         - SET DIALOGBOX [ POSITION ] DISABLE
         - see example of SET DIALOGBOX POSITION in doc
      - HMG_GetLastMouseMessage ( [ @hWnd ], [@nMsg], [@wParam], [@lParam] ) --> nMsg
      - HMG_CleanLastMouseMessage ()
      - HMG_GetCursorPos ( [ hWnd ], @nRow, @nCol )
      - HMG_SetCursorPos ( [ hWnd ],  nRow,  nCol )   
      - SetWindowLongPtr (hWnd, nIndex, dwNewLong) --> return dwRetLong
      - GetWindowLongPtr (hWnd, nIndex) --> return dwRetLong
      - SetClassLongPtr (hWnd, nIndex, dwNewLong) --> return dwRetLong
      - GetClassLongPtr (hWnd, nIndex) --> return dwRetLong     
      - GetCurrentProcessId() --> return nProcessID
      - EnumProcessesID () ---> return array { nProcessID1, nProcessID2, ... }
      - GetProcessName ( [ nProcessID ] ) --> return cProcessName
      - GetProcessFullName ( [ nProcessID ] ) --> return cProcessFullName
      - GetProcessMemoryInfo ( [ ProcessID ] )  --> return array with 9 numbers
      - GlobalMemoryStatusEx () --> return array with 7 numbers     
   - Enhanced GetColor ( [ aDefaultColor ], [ @aCustomColors ], [ lFullOpenBox ] )
   - Enhanced RichEditBox Control
      - New Properties
         - FontName
         - FontSize
         - FontBold
         - FontItalic
         - FontUnderline
         - FontStrikeOut
         - FontColor
         - FontBackColor
         - FontScript
         - Link
         - GetClickLinkRange
         - GetClickLinkText
         - RTFTextMode
         - AutoURLDetect
         - Zoom
         - SelectRange
         - CaretPos
         - Value
         - ViewRect
         - GetSelectText
         - GetTextLength
         - GetTextRange
         - GetPosChar
         - AddText
         - AddTextAndSelect
         - CanPaste
         - CanUndo
         - CanRedo
         - BackGroundColor
         - ParaAlignment
         - ParaNumbering
         - ParaNumberingStyle
         - ParaNumberingStart
         - ParaOffset
         - ParaLineSpacing
         - ParaIndent
         - FindText
         - ReplaceText
         - ReplaceAllText
      - New Methods
         - SelectAll
         - UnSelectAll
         - SelCopy
         - SelPaste
         - SelCut
         - SelClear
         - Undo
         - Redo
         - ClearUndoBuffer
         - RTFLoadFile
         - RTFSaveFile
         - RTFPrint
      - New Properties at Definition
         - NOHSCROLL
         - NOVSCROLL
         - ON SELECT
         - ON LINK
         - ON VSCROLL
   - New Features in Print Preview
      - New Save Print Preview as image: BMP, JPG, GIF, TIFF, PNG or EMF
      - New Save Printer Preview as PDF
      - Enhanced look and feel of Print Preview ( Contributed By Pablo César )
      - Enhanced quality of images of ThumbNails in printer preview
      - Changed cursor behavior in Print Preview window: Zoom and Glass Cursor only into page to print
   - New HMG_HPDF PRINT UNICODE TEXT as images (Please see SAMPLES\HPDF\HMG_HPDFUNI)
   - New Unicode related functions
      - HMG_IsUTF8 ( cString )          --> lBoolean
      - HMG_IsUTF8WithBOM ( cString )   --> lBoolean
      - HMG_UTF8RemoveBOM ( cString )   --> cString
      - HMG_UTF8InsertBOM ( cString )   --> cString
   - New Registry related functions
      - RegCloseKey ( hKey ) --> return lBoolean
      - RegOpenKeyEx ( hKey, cSubKey, [ RegSAM ], @hResult ) --> return lBoolean
      - RegEnumKeyEx ( hKey, nIndex, @cBuffer, @cClass ) --> return lBoolean
   - New HFCL ComboSearchBox Features ( See sample )
     - Additive
     - RowOffset
     - ColOffset
   - Fixed Printer Preview activate from Modal Window with Panel Window (Reported by Marek, Fixed by Dr. Claudio Soto)
   - Fixed scroll window with Panel Window (Reported by Marek, Fixed by Dr. Claudio Soto)
   - Fixed HMG_HPDF ttf font selection ( Contributed By Pablo César )         
   - Fixed Numeric TextBox Decimal Point problem ( Contributed By Pablo César )
   - Fixed HFCL ComboSearchBox GotFocus/LostFocus Bug
   - Fixed HTML_END ( Contributed By Pablo César ) 
Saludos.
Dr. Claudio Soto
(Uruguay)
http://srvet.blogspot.com
Avatar de usuário

Claudio Soto
Colaborador

Colaborador
 
Mensagens: 555
Data de registro: 27 Ago 2012 12:31
Cidade/Estado: Uruguay
Curtiu: 35 vezes
Mens.Curtidas: 166 vezes

HMG Releases - Atualizações

Mensagempor Pablo César » 03 Jun 2014 08:37

Gracias Claudio por toda tu atención. Yo ya estaba anunciandolo pero vi que me ganaste de mano... muchas gracias por todo ! Y felicitaciones por todos las conquistas alcanzadas, gracias a tu dedicacion y auxilio de muchos colegas de toda la comunidad.
Um clip-abraço !

Pablo César Arrascaeta
Compartilhe suas dúvidas e soluções com todos os colegas aqui do fórum.
Evite enviar as dúvidas técnicas por MPs ou eMails, assim todos iremos beneficiar-nos.
Avatar de usuário

Pablo César
Usuário Nível 7

Usuário Nível 7
 
Mensagens: 5312
Data de registro: 31 Mai 2006 10:22
Cidade/Estado: Curitiba - Paraná
Curtiu: 142 vezes
Mens.Curtidas: 152 vezes

HMG Releases - Atualizações

Mensagempor wesley assis » 04 Jun 2014 21:06

Prezados! Baixei a versão 3.3.0 e ao compilar um sistema que tenho trabalhado até então na versão 3.0.35, verifiquei que a 3.3.0 não aceita "ç", acentos, etc., colocando caracteres especiais no lugar. Tem como consertar? Obrigado a todos pelos esforços desta nova versão...
wesley assis
Usuário Nível 1

Usuário Nível 1
 
Mensagens: 37
Data de registro: 08 Abr 2010 16:16
Cidade/Estado: Belo Horizonte - MG
Curtiu: 0 vez
Mens.Curtidas: 2 vezes

HMG Releases - Atualizações

Mensagempor wesley assis » 05 Jun 2014 10:48

Prezados, bom dia! RESOLVIDO.
Usei as dicas do forum mesmo viewtopic.php?f=45&t=14612.
Usando antes da Function Main ---> REQUEST HB_CODEPAGE_PTISO e depois da Function Main ---> HB_CDPSELECT('PTISO')

Valeu

Wesley Assis
wesley assis
Usuário Nível 1

Usuário Nível 1
 
Mensagens: 37
Data de registro: 08 Abr 2010 16:16
Cidade/Estado: Belo Horizonte - MG
Curtiu: 0 vez
Mens.Curtidas: 2 vezes

HMG.3.3.0 Patch 2 (32 and 64-bits)

Mensagempor Claudio Soto » 13 Jun 2014 11:06

Existe un nuevo parche para HMG.3.3.0 con nuevas mejoras http://www.hmgforum.com/viewtopic.php?f=43&t=3782
Saludos.
Dr. Claudio Soto
(Uruguay)
http://srvet.blogspot.com
Avatar de usuário

Claudio Soto
Colaborador

Colaborador
 
Mensagens: 555
Data de registro: 27 Ago 2012 12:31
Cidade/Estado: Uruguay
Curtiu: 35 vezes
Mens.Curtidas: 166 vezes

HMG.3.3.0 Patch 3 (32 and 64-bits)

Mensagempor Claudio Soto » 14 Jun 2014 15:39

Saludos.
Dr. Claudio Soto
(Uruguay)
http://srvet.blogspot.com
Avatar de usuário

Claudio Soto
Colaborador

Colaborador
 
Mensagens: 555
Data de registro: 27 Ago 2012 12:31
Cidade/Estado: Uruguay
Curtiu: 35 vezes
Mens.Curtidas: 166 vezes

HMG Releases - Atualizações

Mensagempor NiltonGM » 16 Jun 2014 13:06

Olá pessoal,

Estou tentando atualizar hmg para 3.3.0 mas o arquivo zip no passo 2 parece estar corrompido, ao abri-lo com WinRAR 5.00 (64-bits) não se consegue extrair ou testar, acusa 7222 erros (Método desconhecido em DOC\data\"para cada arquivo".html).
Já baixei-o várias vezes, não ocorre erro ao baixa-lo, somente ao extrair ou testar no WinRAR.
Passo: 2) Instalar el parche de 64-bits http://sourceforge.net/projects/hmg/fil ... p/download (HMG-64bits.3.3.0.zip)
Nilton Medeiros
nilton@sistrom.com.br
Avatar de usuário

NiltonGM
Usuário Nível 3

Usuário Nível 3
 
Mensagens: 393
Data de registro: 05 Jun 2014 23:47
Cidade/Estado: Caieiras/SP
Curtiu: 249 vezes
Mens.Curtidas: 25 vezes

HMG Releases - Atualizações

Mensagempor Pablo César » 16 Jul 2014 08:53

Nova versão 3.3.1 da HMG com novos recursos e consertos de bugs.

Para baixar a nova versão em sourceforge.net do site ou aqui.

Para a versão TESTE do HMG.3.3.1 (64 Bits), precisa somente dos compiladores Harbour-64 e Mingw-64 os quais você pode baixá-los separadamente aqui.

Change log:

-HMG 3.3.1 (Stable) 2014/07/15
   - Updated to latest Harbour Nightly Build (2014-07-15)
   - New property in Label control 
      - NoPrefix
   - New New property in DatePicker control 
      - FORMAT <cFormatDate> (see demo)
   - New Now all controls (Button, CheckButton, ToolBarButton, ComboBox, Grid, Tab, Tree, Menu, etc)
     loaded images: BMP, GIF, TIF, JPG and PNG
   - New Now all controls (Button, CheckButton, ToolBarButton, ComboBox, Grid, Tab, Tree, Menu, etc) 
     support the NOTRANSPARENT property
   - New Grid control support the NOTRANSPARENTHEADER property
   - New Print images in formats: BMP, GIF, JPG, TIF, WMF, EMF, CUR and PNG.
      - @ <nRow> , <nCol> PRINT IMAGE <cImageFileName> | <cImageResourcename>
         WIDTH <nWidth>
         HEIGHT <nHeight>
         [ STRETCH ]
         [ TRANSPARENT ]
         [ TRANSPARENTCOLOR anTransparentColor ]
   - New LOG demands at HPDF_INIT and Proper close tables in HTML --> http://hmgforum.com/viewtopic.php?p=34856#p34856
   - New build.bat --> http://hmgforum.com/viewtopic.php?p=35031#p35031
   - New functions for read Keyboard and Mouse (see doc)
      - SET CONTROL <ControlName> OF <FormName> ONKEYEVENT   <FuncName> | NIL
      - SET CONTROL <ControlName> OF <FormName> ONMOUSEEVENT <FuncName> | NIL
      - HMG_GetOnKeyControlIndex   ( [ @nSubIndex ] ) --> nIndex
      - HMG_GetOnMouseControlIndex ( [ @nSubIndex ] ) --> nIndex
   - New functions for control edge (see doc)
      - SET CONTROL <ControlName> OF <FormName> CLIENTEDGE
      - SET CONTROL <ControlName> OF <FormName> STATICEDGE
      - SET CONTROL <ControlName> OF <FormName> NOTEDGE
   - New Functions:
      - GetKeyboardLayoutName()
      - ActivateKeyboardLayout()
      - GetKeyboardLayout()
      - GetKeyboardLayoutList()
      - LoadKeyboardLayout ()
      - UnloadKeyboardLayout()
      - TerminateProcess ( [ nProcessID ] , [ nExitCode ] )
      - GetWindowThreadProcessId (hWnd, @nThread, @nProcessID)
      - IsWow64Process ( [ nProcessID ] ) --> return lBoolean
         - return TRUE  if a 32-bit application is running under 64-bit Windows (WOW64)
         - return FALSE if a 32-bit application is running under 32-bit Windows
         - return FALSE if a 64-bit application is running under 64-bit Windows
      - WOW64 is the x86 emulator that allows 32-bit Windows-based applications to running on 64-bit Windows
   - New: VirtualKeyboard (see doc)
      - VirtualKeyboard.OPEN [ SHOW ]
      - VirtualKeyboard.OPEN   HIDE
      - VirtualKeyboard.Show
      - VirtualKeyboard.Hide
      - VirtualKeyboard.Release
      - VirtualKeyboard.IsRelease
      - VirtualKeyboard.IsOpen
      - VirtualKeyboard.IsVisible
      - VirtualKeyboard.IsMinimize
      - VirtualKeyboard.IsMaximize
      - VirtualKeyboard.Handle
      - VirtualKeyboard.Title  [ := | --> ] cTitle
      - VirtualKeyboard.Row    [ := | --> ] nRow
      - VirtualKeyboard.Col    [ := | --> ] nCol
      - VirtualKeyboard.Width  [ := | --> ] nWidth
      - VirtualKeyboard.Height [ := | --> ] nHeight
      - VirtualKeyboard.FileName        --> "OSK.EXE"
      - VirtualKeyboard.FullFileName    --> GetSystemDir()+"\OSK.EXE"
   - Fixed Numeric Textbox bug --> http://hmgforum.com/viewtopic.php?p=34890#p34890
   - Fixed bug in Grid control build in 64-bits --> http://hmgforum.com/viewtopic.php?p=34946#p34946
   - Fixed bug in FocusedControl Property (reported by Tiampei)
   - Fixed Windows problem of overlap between ToolBar Bottom and StatusBar
   - Fixed HPDF System variable conflict (Contributed by Pablo César)
   - HMG IDE       
      -Fixed when not found the text editor calls notepad.exe of windows (reported by Roberto Lopez)
      -Updated Polish language in Unicode (contributed by Marek)

Espera-se novas correções, para quem quiser acompanhar clique aqui.
Um clip-abraço !

Pablo César Arrascaeta
Compartilhe suas dúvidas e soluções com todos os colegas aqui do fórum.
Evite enviar as dúvidas técnicas por MPs ou eMails, assim todos iremos beneficiar-nos.
Avatar de usuário

Pablo César
Usuário Nível 7

Usuário Nível 7
 
Mensagens: 5312
Data de registro: 31 Mai 2006 10:22
Cidade/Estado: Curitiba - Paraná
Curtiu: 142 vezes
Mens.Curtidas: 152 vezes

HMG Releases - Atualizações

Mensagempor NiltonGM » 17 Jul 2014 11:35

Olá Pablo César,

Você sabe me dizer se nessa versão 3.3.1 no componente GRID foi resolvido como mudar o fonte de um determinado cabeçalho para fontBold = true e também o bug com imagens nos cabeçalhos?
Explicando: No evento OnHeadClick invoco a função correspondente ao cabeçalho daquela coluna, então ordeno aquela coluna, até aqui tudo bem, mas gostaria também colocar aquele cabeçalho em negrito (fontBold := .T.) para indicar ao usuário que ela está ordenada.

Valeu.
Nilton Medeiros
nilton@sistrom.com.br
Avatar de usuário

NiltonGM
Usuário Nível 3

Usuário Nível 3
 
Mensagens: 393
Data de registro: 05 Jun 2014 23:47
Cidade/Estado: Caieiras/SP
Curtiu: 249 vezes
Mens.Curtidas: 25 vezes

HMG Releases - Atualizações

Mensagempor Pablo César » 17 Jul 2014 12:58

NiltonGM escreveu:como mudar o fonte de um determinado cabeçalho para fontBold = true
Eu não sei se isto seria possível já que seria trocar apenas a célula do header em que a coluna que você clicou.

NiltonGM escreveu:o bug com imagens nos cabeçalhos?
Sobre essa distorsão de imagens nos cabeçalhos do GRID creio que se deba a opção de dexiar ou não as imagens com fundo transparentes. Nesta nova versão você deverá implementar a propriedade NOTRANSPARENTHEADER no seu GRID.
Um clip-abraço !

Pablo César Arrascaeta
Compartilhe suas dúvidas e soluções com todos os colegas aqui do fórum.
Evite enviar as dúvidas técnicas por MPs ou eMails, assim todos iremos beneficiar-nos.
Avatar de usuário

Pablo César
Usuário Nível 7

Usuário Nível 7
 
Mensagens: 5312
Data de registro: 31 Mai 2006 10:22
Cidade/Estado: Curitiba - Paraná
Curtiu: 142 vezes
Mens.Curtidas: 152 vezes

HMG Releases - Mudanças: GRID e TREE

Mensagempor Pablo César » 05 Set 2014 20:44

Mudanças principais são:

1) Mudança interna nas cores dinâmicas (BackColor e ForeColor) do GRID (agora é mais eficiente, foi removido o uso de uma matriz com um elemento para cada célula, isto evita criar uma matriz enorme).
2) Fonte Nova Dinâmica em controles no GRID e TREE

Novos recursos:
* GRID
- <ParentWindowName>.<GridControlName>.Image ( lTransparent ) := { "image1.png", "image2.bmp", ... }
- <ParentWindowName>.<GridControlName>.ImageIndex ( nRow , nCol )
- <ParentWindowName>.<GridControlName>.ImageList
- <ParentWindowName>.<GridControlName>.DYNAMICFONT ( nCol ) := {|| {cFontName, nFontSize, [ lBold, lItalic, lUnderline, lStrikeOut ]} }
- <ParentWindowName>.<GridControlName>.HeaderImageIndex ( nCol ) [ := | -->] nIndex
- <ParentWindowName>.<GridControlName>.ChangeFontSize := nSize | NIL // Useful for use Dynamic Font with more (less) Height than the size of font the Grid/Tree control

// Dynamic Font (Grid/Tree)
ARRAY FONT <cFontName> SIZE <nFontSize> [ BOLD ] [ ITALIC ] [ UNDERLINE ] [ STRIKEOUT ] --> { cFontName, nFontSize, lBold, lIitalic, lUnderline, lStrikeout }

// Dynamic Font (Grid/Tree)
CREATE ARRAY FONT <cFontName> SIZE <nFontSize> [ BOLD <lBold> ] [ ITALIC <lIitalic> ] [ UNDERLINE <lUnderline> ] [ STRIKEOUT <lStrikeout> ] --> { cFontName, nFontSize, lBold, lIitalic, lUnderline, lStrikeout }

* Tree Control
- ON EXPAND
- ON COLLAPSE

- This.TreeItemValue

- <ParentWindowName>.<TreeControlName>.DynamicForeColor := cBlock
- <ParentWindowName>.<TreeControlName>.DynamicBackColor := cBlock
- <ParentWindowName>.<TreeControlName>.DynamicFont := cBlock
- <ParentWindowName>.<TreeControlName>.ChangeFontSize := nSize | NIL // Useful for use Dynamic Font with more (less) Height than the size of font the Grid/Tree control

- <ParentWindowName>.<TreeControlName>.IsExpand ( nValue ) --> lBoolean
- <ParentWindowName>.<TreeControlName>.ImageList [ := | --> ] hImageList
- <ParentWindowName>.<TreeControlName>.HasLines [ := | --> ] lBoolean
- <ParentWindowName>.<TreeControlName>.FullRowSelect [ := | --> ] lBoolean
- <ParentWindowName>.<TreeControlName>.HasButton ( nValue ) [ := | --> ] lBoolean
- <ParentWindowName>.<TreeControlName>.Cargo ( nValue ) [ := | --> ] xData
- <ParentWindowName>.<TreeControlName>.CargoScan ( xData ) --> nValue | NIL
- <ParentWindowName>.<TreeControlName>.GetPathValue ( nValue ) --> anPathValue | NIL
- <ParentWindowName>.<TreeControlName>.GetPathName ( nValue ) --> acPathName | NIL
- <ParentWindowName>.<TreeControlName>.GetDisplayLevel ( nValue ) --> nDisplayColumn | NIL


Um exemplo, WOW !
Imagem

Link para download:
http://hmgforum.com/viewtopic.php?p=36228#p36228
Um clip-abraço !

Pablo César Arrascaeta
Compartilhe suas dúvidas e soluções com todos os colegas aqui do fórum.
Evite enviar as dúvidas técnicas por MPs ou eMails, assim todos iremos beneficiar-nos.
Avatar de usuário

Pablo César
Usuário Nível 7

Usuário Nível 7
 
Mensagens: 5312
Data de registro: 31 Mai 2006 10:22
Cidade/Estado: Curitiba - Paraná
Curtiu: 142 vezes
Mens.Curtidas: 152 vezes

HMG Releases - Atualizações

Mensagempor NiltonGM » 06 Set 2014 11:11

Colocar o fonte de um cabeçalho de uma determinada coluna na GRID em negrito por exemplo, até agora nada né? Ainda não há como fazer isso?
Nilton Medeiros
nilton@sistrom.com.br
Avatar de usuário

NiltonGM
Usuário Nível 3

Usuário Nível 3
 
Mensagens: 393
Data de registro: 05 Jun 2014 23:47
Cidade/Estado: Caieiras/SP
Curtiu: 249 vezes
Mens.Curtidas: 25 vezes

HMG Releases - Atualizações

Mensagempor Pablo César » 06 Set 2014 15:26

NiltonGM escreveu:Colocar o fonte de um cabeçalho de uma determinada coluna na GRID em negrito por exemplo, até agora nada né?
Não, ainda.

NiltonGM escreveu:Ainda não há como fazer isso?
Se tem alguém que possa resolver esta sua questão é o Dr. Claudio. Eu já postei no fórum oficial a sua questão.

http://hmgforum.com/viewtopic.php?p=36295#p36295
Um clip-abraço !

Pablo César Arrascaeta
Compartilhe suas dúvidas e soluções com todos os colegas aqui do fórum.
Evite enviar as dúvidas técnicas por MPs ou eMails, assim todos iremos beneficiar-nos.
Avatar de usuário

Pablo César
Usuário Nível 7

Usuário Nível 7
 
Mensagens: 5312
Data de registro: 31 Mai 2006 10:22
Cidade/Estado: Curitiba - Paraná
Curtiu: 142 vezes
Mens.Curtidas: 152 vezes

Anterior Próximo



Retornar para MiniGui

Quem está online

Usuários vendo este fórum: Google [Bot] e 8 visitantes


Ola Amigo, espero que meu site e forum tem lhe beneficiado, com exemplos e dicas de programacao.
Entao divulgue o link da Doacao abaixo para seus amigos e redes sociais ou faça uma doacao para o site forum...
MUITO OBRIGADO PELA SUA DOACAO!
Faça uma doação para o forum
cron
v
Olá visitante, seja bem-vindo ao Fórum Clipper On Line!
Efetue o seu login ou faça o seu Registro