HMG.3.4.2

HMG Unicode versions 3.1.x related

Moderator: Rathinagiri

User avatar
mustafa
Posts: 1160
Joined: Fri Mar 20, 2009 11:38 am
DBs Used: DBF
Location: Alicante - Spain
Contact:

Re: HMG.3.4.2

Post by mustafa »

Bonjour tonton2
je ne comprenais pas ?
vous devez supprimer la ligne 312 -> // nyPos - = nFontSize
Il fonctionne parfaitement avec votre solution
merci
*--------------------------------------------------------------*
Hello tonton2
I did not understand ?
you must delete the line 312 -> // nyPos - = nFontSize
It works perfect with your solution
Thank you
Mustafa :P
EduardoLuis
Posts: 683
Joined: Tue Jun 04, 2013 6:33 pm
Location: Argentina

Re: HMG.3.4.2 - Suggestions about tests

Post by EduardoLuis »

Hi Friends:

Recently i notice that many of us report issues, and practically allways, we omit wich SO we use when compilling and/or executing.-
As all of us know, each SO have internal rules that in some cases enters in conflict with our HMG.-
Although MS don't recognize, it's a reallity (today) that there are millons of PC that are still using discontinuied version such as WIN XP.- Not many people upgrades SO each time MS developes a new one.-
In my case i develope apps thinking that users with XP, Vista, Seven, 8.1 and 10, will use them for long time; so i start my developes on an XPSP3 (compilation), and afterwards test it on each of latest SO versions.- This way, i don't force end users to keep upgraded its OS, unless they decide to do it.-
On the other side, when i test each new upgrade of HMG, i do it on different machines with different SO, so when i report and issue, this helps Claudio or Rathi to search where could be the reason of this issue.-
Please forgive me if somebody desagree with my propousal, but i think is a reasonable way to ensure the stability of HMG and of course our developes.-
With regards as allways.
Eduardo
EduardoLuis
Posts: 683
Joined: Tue Jun 04, 2013 6:33 pm
Location: Argentina

Re: HMG.3.4.2 - Suggestions about test

Post by EduardoLuis »

Hi Friends:

I forget to mention the proposal:
When somebody report an issue, please indicate the Version of HMG and WIN SO on both times: compilling and executing.-
Again thanks for your time.-
Eduardo
nikko1960
Posts: 30
Joined: Fri Sep 13, 2013 8:55 am
Contact:

hmg unicode ide and timer control

Post by nikko1960 »

Hi to all
configuration : win 10 home 64 bit, hmg 3.4.2 ide unicode patch 3, timer control.
i do not know if this is an issue but when you input the value property from Ide the maximum value is 10000 ( i think is equal to ten seconds )
but if you change it in the fmg file you can input more then 10000, it works as expected.
So i suggest to increase this value in HMG-Ide property value.

regards

Domenico
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: hmg unicode ide and timer control

Post by srvet_claudio »

nikko1960 wrote:Hi to all
configuration : win 10 home 64 bit, hmg 3.4.2 ide unicode patch 3, timer control.
i do not know if this is an issue but when you input the value property from Ide the maximum value is 10000 ( i think is equal to ten seconds )
but if you change it in the fmg file you can input more then 10000, it works as expected.
So i suggest to increase this value in HMG-Ide property value.

regards

Domenico
I will check.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMG.3.4.2

Post by srvet_claudio »

Hi Friends,
please test this patch prior of the new release.
This patch include all previous patches.
- Fixed bug in Set/Get Image in column one of Grid control (introduced in HMG.3.4.1) (reported by Zoltan Miszler)
- Fixed bug in OnCheckBoxClicked of Grid control (reported by Rathinagiri)
- Fixed bug in Picture property of ToolBar Button (reported by Pablo César)
- Fixed bug in updating the Value property when an item is deleted in the Grid control (reported by TopsMarc)
- Fixed bug in ToolTip CustomDraw (reported by Eduardo Luis and Kevin Carmody)

- New HMG_IsWin64(), returns TRUE if OS is of 64-bit (contrib by BPD2000)

- New HFCL functions for RichEditBox (contrib by Kevin Carmody):
- RichEditBox_LoadFileEx, RichEditBox_SaveFileEx
- RichEditBox_HasNonAsciiChars, RichEditBox_HasNonAnsiChars
- GetRichEditFileType, HMG_UTF16ByteSwap
- HMG_IsUTF8Ex, HMG_IsNonASCII, HMG_UTF8IsNonANSI
- see \SAMPLES\HFCL\WordScribe

- Bos Taurus: new version 1.0.6, new functions(see doc):
- BT_DrawTextEx (hDC, Row, Col, Width, Height, cText, cFontName, nFontSize, aFontColor, aBackColor, nTypeText, nAlingText, nOrientation)
- BT_DrawTextSize (hDC, cText, cFontName, nFontSize, nTypeText) --> { nTextWidth, nTextHeight, A+B+C of first character, A, B, C }
- BT_DrawPolygon (hDC, aPointY, aPointX, aColorRGBLine, nWidthLine)
- BT_DrawPolyBezier (hDC, aPointY, aPointX, aColorRGBLine, nWidthLine)
- BT_DrawArc (hDC, Row1, Col1, Row2, Col2, RowStartArc, ColStartArc, RowEndArc, ColEndArc, aColorRGBLine, nWidthLine)
- BT_DrawChord (hDC, Row1, Col1, Row2, Col2, RowStartArc, ColStartArc, RowEndArc, ColEndArc, aColorRGBLine, nWidthLine, aColorRGBFill)
- BT_DrawPie (hDC, Row1, Col1, Row2, Col2, RowStartArc, ColStartArc, RowEndArc, ColEndArc, aColorRGBLine, nWidthLine, aColorRGBFill)

- New: now in Label control is possible to assign any data type or a list of data, e.g.
- @ ... LABEL ... VALUE xDataType
- Form.Label.Value := xDataType
- Form.Label.Value := { xDataType, xDataType, ... }

- New in GRID control:
- now when loads a Grid control and column control is NIL converts automatically any data type in text, this avoids that column appears empty.
- On InplaceEditEvent <OnInplaceEditEventProcedure>
- Properties Available For OnInplaceEditEvent Procedure:
- This.IsInplaceEditEventInit: Return .T. or .F.
- This.IsInplaceEditEventRun: Return .T. or .F.
- This.IsInplaceEditEventFinish: Return .T. or .F.
- This.InplaceEditGridName: eg. “Grid_1”
- This.InplaceEditParentName: eg. “Form_1”
- This.InplaceEditControlHandle: Handle of InplaceEdit ColumnControl, eg. Handle of TEXTBOX, DATEPICKER, TIMEPICKER, COMBOBOX, SPINNER, CHECKBOX, etc.
- This.InplaceEditControlIndex: Return nControlIndex
- Now ON CLICK and ON KEY event of Gid control is available too in InplaceEdit state,
for check if the event is fired in the Grid control or inside of InplaceEdit control you use the property This.IsInplaceEditEventRun
- see SAMPLES\Controls\Grid\GridInplaceEditEvent


- Documented many undocumented functions in DOC --> Advanced --> Memory, Processes and Threads

- New: CREATE EVENT CODEBLOCK bCodeBlock [ HWND hWnd ] [ MSG nMsg ] [ STOREINDEX nIndex ]

- New: HMG_PressKey( nVK1, nVK2, ... ) --> return array { nVK1, nVK2, ... }
- Simulates the pressure of a key or a combination of keys (where nVK is a virtual key code)


- New in HMG Debugger (see doc):
- New hotkeys
- Now you can switch between the ToolBar and the Main Menu at your convenience


- For a defensive programming (minimization of input errors):

1) New Class HMG_TString:
- This class selects automatically the correct ANSI or Unicode string function depending of current code page,
the use of this class create a more portable your code.
- for default HMG a create instance of this class, you call with a pseudovariable oString (e.g. oString.Upper( cText ) )
- create a new instance of class -> oStr := HMG_TStringNew(), use e.g. oStr.Upper( cText )
- see documentation( DOC --> CLASSES --> HMG_TString )

2) New: CHECK TYPE [ SOFT ] <var1> AS <type1> [ , <var2> AS <type2> [, <varN> AS <typeN> ] ]
<var> = var name
<type> = var type ( ARRAY, BLOCK, CHARACTER, DATE, HASH, LOGICAL, NIL, NUMERIC, MEMO, POINTER, SYMBOL, TIMESTAMP, OBJECT, USUAL )
- see documentation( DOC --> Advanced --> CHECK TYPE )
Attachments
hmg.3.4.2_patch_4.rar
(3.7 MiB) Downloaded 429 times
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
bpd2000
Posts: 1207
Joined: Sat Sep 10, 2011 4:07 am
Location: India

Re: HMG.3.4.2

Post by bpd2000 »

Thank you Claudio for patch, will report soon
BPD
Convert Dream into Reality through HMG
User avatar
serge_girard
Posts: 3167
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: HMG.3.4.2

Post by serge_girard »

Thanks Claudio !

Serge
There's nothing you can do that can't be done...
chrisjx2002
Posts: 190
Joined: Wed Jan 06, 2010 5:39 pm

Re: HMG.3.4.2

Post by chrisjx2002 »

Thanks Claudio for the patch. It seems that the ToolButton picture problem is still existing.

viewtopic.php?f=20&t=3242
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMG.3.4.2

Post by srvet_claudio »

chrisjx2002 wrote:Thanks Claudio for the patch. It seems that the ToolButton picture problem is still existing.

viewtopic.php?f=20&t=3242
I will check.
Your OS is 32 ?
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
Post Reply