hmgs-ide open · web view(see demo2.prg in folder \samples\advanced\report_generator_2) *...

263

Click here to load reader

Upload: buikhanh

Post on 19-Mar-2018

615 views

Category:

Documents


142 download

TRANSCRIPT

HMGS-IDE OPEN SOURCE

HMG 18.04 Extended Edition

2018/04/18: Build 84

* Fixed: Restored a normal behavior the 'Checked' and 'Value' properties of

CHECKLABEL control (introduced in the build 17.12).

Problem was reported by Hans Schiltmans .

Contributed by Grigory Filatov

(see demo in folder \samples\Basic\CheckLabel_2)

* Fixed: Problem with a showing of the additional information in the ErrorLog

at using of xHarbour compiler (introduced in the build 2.3.9).

Contributed by Grigory Filatov

(see demo in folder \samples\Basic\ShowDetailError)

* Fixed: Program crash at the exit from a Preview window in a graph printing

module at using of recent xHarbour compiler.

Contributed by Grigory Filatov

(see demo in folder \samples\Basic\Charts_3)

* Enhanced: Added the helpful C-level function GetLastError().

Above function returns the error code of the last API function called.

Most API functions merely return a number saying that an error occured,

but not what kind of error. This function will return a universal error

code identifying the type of error that last occured.

Note that most functions set the code to 0 (success) if the function

completes successfully, erasing the previous error code. Therefore,

be sure to check this error code immediately after an error is found.

Suggested and contributed by user on the Russian HMG forum.

(see demo in folder \samples\Basic\COMMON_DIALOGS)

* Modified: The Spinner control supports the similar tooltip for the arrows as

well for an edit field. Above behavior is similar to DatePicker control.

Contributed by Grigory Filatov

(see demo in folder \samples\Basic\SPINNER)

* Modified: The minor optimizations for a MiniGUI core reducing in the some

functions: replace the expression hb_default( @, ) with

hb_defaultValue( , ).

It's useful for two main reasons:

1) we do not damage original parameter value;

2) if parameter is used only once then it's a little bit faster.

Contributed by Grigory Filatov

* Updated: HBPrinter library v.2.44:

- Fixed: conflict with xHarbour internal class NUMERIC (nasty bug).

Contributed by Grigory Filatov

* Updated: HbOLE library source code:

- updated for compatibility with Viktor's Harbour fork 3.4.0.

Contributed by Grigory Filatov

(see in folder \Source\HbOLE)

* Updated: Adaptation FiveWin Class TSBrowse 9.0 in HMG:

- minor corrections in the method ExcelOle().

Requested by Verchenko Andrey .

Contributed by Grigory Filatov

(see demo in folder \samples\Advanced\Tsb_Brw2xml)

* Updated: HbSQLite3 library:

- update for using SQLITE3 version 3.23.1 (from 3.23.0dev).

Contributed by Grigory Filatov

* New: 'Get User Locale Numerics' sample.

Based upon a contribution of HMG user Edward.

Adapted for Minigui Extended by Grigory Filatov

(see in folder \samples\Advanced\GetUserLocaleInfo)

* Updated: 'Check User Login in the transparent form' sample:

- retrieve the image sizes from an application's resource.

Requested by Verchenko Andrey .

Contributed by Grigory Filatov

(see in folder \samples\Basic\Login_2)

* Updated: 'StatusBar with ProgressBar' sample:

- use the function SuppressKeyAndMouseEvents() for blocking

of the mouse and keyboard pressing in a loop.

Contributed by Grigory Filatov

(see in folder \samples\Basic\StatusBar_ProgressBar)

* Updated: 'DBF Header Info' sample:

- code cleaning for warnings with Harbour switch -w3.

Contributed by Grigory Filatov

(see in folder \samples\Advanced\dbfHeaderInfo)

* Updated: 'Print Pie Graph' sample: updated the data for March 2018.

Contributed by Grigory Filatov

(see demo.prg in folder \samples\Basic\GraphPrint)

* Updated: MAINDEMO (SYNTAX I) sample:

- updated a graph printing for compatibility with xHarbour.

Contributed by Grigory Filatov

(see at folder \samples\Basic\MAINDEMO_(SYNTAX_I))

* Updated: 'HbXlsxWriter library test' samples:

- New: creating the simple Excel charts in XLSX file.

- New: adding an autofilter to a worksheet in Excel.

- New: create Excel worksheets with panes.

- New: cell locking and formula hiding in an Excel worksheet.

- New: how to set Excel worksheet tab colors.

Contributed by Grigory Filatov

(see examples in folder \samples\Advanced\HbXlsxWriter)

* Updated: 'Harbour librarian' utility: added export of content to Excel.

Suggested and contributed by BP Dave .

Revised by Grigory Filatov

(see in folder \Utils\HB_LIB)

HMG 18.03 Extended Edition

2018/03/28: Build 83

* Fixed: Missed update of a dynamic color at column sorting in a GRID control.

Problem was reported by Vagelis Prodromidis.

Contributed by Grigory Filatov

* New: 'PDF Printer' library is based upon the Harbour HaruPDF class:

- declaration of the object THaruPdf:

PRINT TO HARU [ FILE ] ;

[ ] ;

[ USER PASS ] ;

[ OWNER PASS ] ;

[ PERMISION ]

- start and end of page

PRINTPAGE

...

ENDPAGE

- end of printing

ENDPRINT

(see source in folder \Source\PdfPrinter)

Based upon a contribution of Carlos Mora for FiveWin.

Adapted for Minigui Extended by Grigory Filatov

(see demo in folder \samples\Advanced\PdfPrinter_Test)

* Enhanced: The colored ButtonEx control supports also a definition of gradient

color for a MouseHover event through the BACKCOLOR clause

(also as and a pressed gradient).

- New: Added the read/write properties 'GradientFill' and

'GradientOver' for ButtonEx control.

You can set above properties at runtime as usually:

Win.ButtonEx.GradientFill := aGradFill

SetProperty( Form, Control, 'GradientOver', aGradOver )

or with 'This' object reference

This.GradientFill := aGradFill

This.GradientOver := aGradOver

Contributed by Grigory Filatov

(see demo4.prg in folder \samples\Basic\ButtonEx)

* Enhanced: WebCam: added the useful function cap_SetVideoFormat().

Syntax: cap_SetVideoFormat( Win.Camera.Handle, , )

Requested by user on Russian HMG forum.

Contributed by Grigory Filatov

* Enhanced: Added the useful function SuppressKeyAndMouseEvents() for blocking

of the mouse and keyboard pressing at the event's processing.

Contributed by Grigory Filatov

(see demo2.prg in folder \samples\Basic\PROGRESSBAR)

* Modified: The minor optimizations for a speed (and stability) improvement

in the some internal functions.

Contributed by Grigory Filatov

* Updated: Internal OOP class TWndData: improved method DoEvent().

Suggested and contributed by Sergej Kiselev

(see demo in folder \samples\Advanced\APP_OOPEVENTS)

* Updated: Synchronized Extended HMG for compatibility with Official HMG:

- New: Added the useful functions HMG_KeyboardClearBuffer() and

HMG_MouseClearBuffer().

Contributed by Claudio Soto at official HMG forum.

- New: Addition of 455 new colors definitions

Contributed by Grigory Filatov

(see i_wincolor.ch in folder \include)

* Updated: The .HBX files were generated with hbmk2 utility for the all basic

libraries. Contributed by Grigory Filatov

(see *.hbx in folder \include)

* Updated: HMG_HPDF library (see source in folder \source\HMG_HPDF):

- New: Added the new global commands:

SET HPDFDOC FONT NAME TO

SET HPDFDOC FONT SIZE TO

Remark:

The command SET HPDFDOC FONT NAME TO restores the "Helvetica" font

as the default.

SET HPDFDOC FONT SIZE TO - restores font size 12 as the default.

(see demo in folder \samples\Advanced\PDF_PRINT)

- Fixed: STRIKEOUT and UNDERLINE options also works with ANGLE clause