New FTDN April/Abril 2020 (FWH 20.04)
Posted: Sun May 03, 2020 12:41 pm
April 2020
==========
* XIMAGE
- New DATA lMnuSave, allow hide menu options for save image
- Implemented styles 2007, 2010, 2013, 2015 for menu popup
- Added traduction Popup menu
* New: FUll support to easily build your PRGs from Microsoft free vscode. Just open
a PRG from FWH\samples and build it using Ctrl + Shift + B
* New: samples/photos.prg lets you take photos using the webcam. Thanks to many that
have contributed to it:
http://forums.fivetechsupport.com/viewt ... 79&start=0
* GET:
- New method Reset( uVal/bNewSetGet, [cPic] ) --> nil
Allows to reset the get with a new variable of a different data type
and optionally use a new picture.
* New class FWStack (source\classes\fwstack.prg)
Class to save and retrieve data by Push() and Pop()
Methods:
New( [u1,u2,...,uN] ) --> Self
Push( u, [u2, u3, ..., uN] ) --> Self
Pop() --> Last item on the stack and removes from the stack
Peek() --> Last item on the stack without removing
Peek( -n ) --> -nth item from last
Clear() --> Self. Clears the stack
Size() --> Length of the stack
* Fix: BtnBmp: In some rare cases, bitmap is not correctly placed on
the button. Fixed.
For details see:
http://forums.fivetechsupport.com/viewt ... =3&t=38549
* FWPDF class
- Method Say() is not fully compatible with TPrinter class. When nWidth
parameter is nil, alignment is ignored whereas Tprinter treats nCol as
right boundary for right alignment and as cener point for center
alignment. FWPdf class is modified for compatibility.
http://forums.fivetechsupport.com/viewt ... =3&t=38394
- It is noticed that libharu.lib along with the present png.lig of (x)Harbour
is unable to read some png files/buffers.
Temporarily, fwpdf.prg is modified. Now png images are first read by FWH
using itw own functions, bypassing the libharu native functions and then
create pdf images from the gdi+ image read by FWH.
http://forums.fivetechsupport.com/viewt ... 14#p230214
* TPrinter class: (printer.prg)
- Method PrintIamge() is not displayin the correct size of the image when
both nWidth and nHeight are nil. Fixed.
- Method Box() and RoundBox() were not drawn transparently covering the
previous content. Now drawn transparently and consistent with Window and
fwpdf.
* Enhancement FW_ReadImage() can now read base64 encoded images from web.
Similar enhancement is implemented in fwpdf class also.
* Enhancement: Combobox images: Now alpha bitmaps and all types of images
can be used with comboboxes.
* TDatePick class: Enhancements
- SetRange( dFrom, dLast ): Sets lower and upper limits for selection of
dates. In case of DateTime variable, the parameters may be DateTime values.
Value of NIL clears that range.
- GetRange() --> aRange { dFrom, dLast )
- New Data aRange. Is updated on the last call to SetRange/GetRange
- NewDatas to toggle DatePicker styles:
a) lNoToday: Display of Today prompt at the bottom.
b) lNoTodayCircle: Box around current date.
c) lWeekNumbers: Display week of the year number on left
d) lNoTrailingDates: Display previous and next month dates.
e) lMultiSelect: When toggled on, user can select a range of
days by dragging with mouse or by shift-clicking on the last
day. While the regular Get variable indicates the starting
date, DATA dLastDate indicates the last date of the selected
range of the date: By default, a date range consititng a
maximum 7 days can be seleted. Thils limit can be changed by
setting a different value to data nMultiSelMaxDays.
* All Controls: ReadOnly DATA uOriginalValue holds the value of
the variable when the control was first created.
* New: function FWErrorSys() allows to set the FWH error system in those
cases where another function ErrorSys() may exist.
* New: function StackVars() returns an array with all the stack procnames
with their params values and local values.
* Fix: Class TTabControl() was not properly adding and deleting tabs. Now
it is ok.
* Enhancement: function MsgGet() now supports an optional codeblock to
create a GET ... ACTION
* XBROWSE:
- New DATA lVarChar in TXbrwColumn class:
While editing array browses user can enter longer text than the
present value and the text is trimmed while saving.
Applies only for character values in arrays.
- Positioning of BtnAction in GetBar when the application is themed is not
correct. Fixed.
http://forums.fivetechsupport.com/viewt ... =3&t=38828
- SqlRdd: Earlier functionality of VScroll for SQLRDD restored
- Vertical merge of cells:
Vertically merged cells not hightlighted show horizontal lines when the
back color in bClrStd is not the same as the oBrw:nClrPane.
Now all merged cells show with solid color.
http://forums.fivetechsupport.com/viewt ... 57#p231857
- Method Report(): The word "Page" in the footer will be printed in the
language set.
* Fix: function MemoEdit() renamed as FW_MemoEdit()
* Fix: Fixed RibbonBar bug reported by Silvio:
http://forums.fivetechsupport.com/viewt ... 43&start=0
* Fix: uCharToVal( cDate, "D" ) in source/function/valtostr.prg:
This function is failing with monthname is preceded by a non-space
character like - or /.
http://forums.fivetechsupport.com/viewt ... 32#p231132
* Fix: FWMariaConnection class: In some rare cases of MariaDB server
installations in other languages like Turkish, the class fails to
recognise the server as MariaDB server and also fails to decide if a
Transaction is in progress. Fixed. This bug does not affect any installations
of MySql and also MariaDb installations in English.
http://forums.fivetechsupport.com/viewt ... =3&t=37928
* New: Class TExplorerBar() METHOD CloseAll( nExcept ) closes all the panels
except the panels specifed by nExcept. By default it is 1, so the first panel
remains visible
* cGetDir(): Now the dialog title can be Unicode.
However, InitDir can not contain Unicode chars.
http://forums.fivetechsupport.com/viewt ... =3&t=38815
==========
* XIMAGE
- New DATA lMnuSave, allow hide menu options for save image
- Implemented styles 2007, 2010, 2013, 2015 for menu popup
- Added traduction Popup menu
* New: FUll support to easily build your PRGs from Microsoft free vscode. Just open
a PRG from FWH\samples and build it using Ctrl + Shift + B
* New: samples/photos.prg lets you take photos using the webcam. Thanks to many that
have contributed to it:
http://forums.fivetechsupport.com/viewt ... 79&start=0
* GET:
- New method Reset( uVal/bNewSetGet, [cPic] ) --> nil
Allows to reset the get with a new variable of a different data type
and optionally use a new picture.
* New class FWStack (source\classes\fwstack.prg)
Class to save and retrieve data by Push() and Pop()
Methods:
New( [u1,u2,...,uN] ) --> Self
Push( u, [u2, u3, ..., uN] ) --> Self
Pop() --> Last item on the stack and removes from the stack
Peek() --> Last item on the stack without removing
Peek( -n ) --> -nth item from last
Clear() --> Self. Clears the stack
Size() --> Length of the stack
* Fix: BtnBmp: In some rare cases, bitmap is not correctly placed on
the button. Fixed.
For details see:
http://forums.fivetechsupport.com/viewt ... =3&t=38549
* FWPDF class
- Method Say() is not fully compatible with TPrinter class. When nWidth
parameter is nil, alignment is ignored whereas Tprinter treats nCol as
right boundary for right alignment and as cener point for center
alignment. FWPdf class is modified for compatibility.
http://forums.fivetechsupport.com/viewt ... =3&t=38394
- It is noticed that libharu.lib along with the present png.lig of (x)Harbour
is unable to read some png files/buffers.
Temporarily, fwpdf.prg is modified. Now png images are first read by FWH
using itw own functions, bypassing the libharu native functions and then
create pdf images from the gdi+ image read by FWH.
http://forums.fivetechsupport.com/viewt ... 14#p230214
* TPrinter class: (printer.prg)
- Method PrintIamge() is not displayin the correct size of the image when
both nWidth and nHeight are nil. Fixed.
- Method Box() and RoundBox() were not drawn transparently covering the
previous content. Now drawn transparently and consistent with Window and
fwpdf.
* Enhancement FW_ReadImage() can now read base64 encoded images from web.
Similar enhancement is implemented in fwpdf class also.
* Enhancement: Combobox images: Now alpha bitmaps and all types of images
can be used with comboboxes.
* TDatePick class: Enhancements
- SetRange( dFrom, dLast ): Sets lower and upper limits for selection of
dates. In case of DateTime variable, the parameters may be DateTime values.
Value of NIL clears that range.
- GetRange() --> aRange { dFrom, dLast )
- New Data aRange. Is updated on the last call to SetRange/GetRange
- NewDatas to toggle DatePicker styles:
a) lNoToday: Display of Today prompt at the bottom.
b) lNoTodayCircle: Box around current date.
c) lWeekNumbers: Display week of the year number on left
d) lNoTrailingDates: Display previous and next month dates.
e) lMultiSelect: When toggled on, user can select a range of
days by dragging with mouse or by shift-clicking on the last
day. While the regular Get variable indicates the starting
date, DATA dLastDate indicates the last date of the selected
range of the date: By default, a date range consititng a
maximum 7 days can be seleted. Thils limit can be changed by
setting a different value to data nMultiSelMaxDays.
* All Controls: ReadOnly DATA uOriginalValue holds the value of
the variable when the control was first created.
* New: function FWErrorSys() allows to set the FWH error system in those
cases where another function ErrorSys() may exist.
* New: function StackVars() returns an array with all the stack procnames
with their params values and local values.
* Fix: Class TTabControl() was not properly adding and deleting tabs. Now
it is ok.
* Enhancement: function MsgGet() now supports an optional codeblock to
create a GET ... ACTION
* XBROWSE:
- New DATA lVarChar in TXbrwColumn class:
While editing array browses user can enter longer text than the
present value and the text is trimmed while saving.
Applies only for character values in arrays.
- Positioning of BtnAction in GetBar when the application is themed is not
correct. Fixed.
http://forums.fivetechsupport.com/viewt ... =3&t=38828
- SqlRdd: Earlier functionality of VScroll for SQLRDD restored
- Vertical merge of cells:
Vertically merged cells not hightlighted show horizontal lines when the
back color in bClrStd is not the same as the oBrw:nClrPane.
Now all merged cells show with solid color.
http://forums.fivetechsupport.com/viewt ... 57#p231857
- Method Report(): The word "Page" in the footer will be printed in the
language set.
* Fix: function MemoEdit() renamed as FW_MemoEdit()
* Fix: Fixed RibbonBar bug reported by Silvio:
http://forums.fivetechsupport.com/viewt ... 43&start=0
* Fix: uCharToVal( cDate, "D" ) in source/function/valtostr.prg:
This function is failing with monthname is preceded by a non-space
character like - or /.
http://forums.fivetechsupport.com/viewt ... 32#p231132
* Fix: FWMariaConnection class: In some rare cases of MariaDB server
installations in other languages like Turkish, the class fails to
recognise the server as MariaDB server and also fails to decide if a
Transaction is in progress. Fixed. This bug does not affect any installations
of MySql and also MariaDb installations in English.
http://forums.fivetechsupport.com/viewt ... =3&t=37928
* New: Class TExplorerBar() METHOD CloseAll( nExcept ) closes all the panels
except the panels specifed by nExcept. By default it is 1, so the first panel
remains visible
* cGetDir(): Now the dialog title can be Unicode.
However, InitDir can not contain Unicode chars.
http://forums.fivetechsupport.com/viewt ... =3&t=38815