New FTDN December/Diciembre 2016 (FWH 16.12)

Post Reply
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

New FTDN December/Diciembre 2016 (FWH 16.12)

Post by Antonio Linares »

December 2016
=============

* Enhancement: function MsgDate() increased used font:

http://forums.fivetechsupport.com/viewt ... 70#p196570

* Enhancement: samples\design.prg now support bitmaps controls too:

http://forums.fivetechsupport.com/viewt ... 28#p196228

* Enhancement: Class TBitmap Method cGenPRG() was missing.

* Fix: Classes TSay and TGet Method cGenPrg() were not using the
supplied parameter lDlgUnits. Now it is ok:

http://forums.fivetechsupport.com/viewt ... 42#p196242

* Enhancement: datarow.prg: Default dialog displays prompts fully
when the prompts contain CRLF.

* Enhancements: TPanel.prg: Now resizeable image brushes and
gradient brushes also work on tpanel.

* Fix: XImage: When ximage is created in another control or child
window/dialog, dragging ximage is moving the parent also. Fixed

* New: TFont class new METHOD Clone(). If a font is cloned, the
new cloned font has to be release separately.

* XBROWSE:
- Enhancement: Automatic Recalculation of Totals:
(a) When a column has an aggregate footer type (eg. AGGR_SUM)
and edited inline, that column's totals are recalculated
automatically. This recalculation is not compatible with programmer's
direct call to MakeTotals(). Now the incompatibility is removed.
(b) In the above case, only the changed column's totals were
beging recalculated. Now all depedent columns' totals are also
recomputed.

- New: DATA lSeekBar (default .f.)
DATA oFilterCol (default nil)
When lSeekBar is set to .T. and oBrw:oSeek is nil, oBrw:cSeek
is displayed in the header bar in the column being searched in
incremental seek mode. In case of incremental filter, the
programmer need to specify oFilterCol also in addition to
cFilterFld if cSeek is to be shown in the bar.

* FWMARIADB:

- Autoreconnection in case of lost connections:
If connection is lost during execution of a program
either due to timeout or network disconnection,
next sql execution automatically tries to reconnect
and proceed with the execution normally.
This new feature is under testing and further
improvement.

- Server variables can now be accessed and modified
like DATAs of connection object.
Examples:
? oCn:max_allowed_packet
if oCn:wait_timeout < 3600
oCn:wait_timeout := 3600
endif

- MySql native functions can be executed like METHODs
of connection object, using Harbour variables as
parameters.
? oCn:DATEDIFF( Date(), dOldDate )
? oCn:UTC_TIMESTAMP()

- Simpler way to open a table as rowset
oRs := oCn:customer
XBROWSER oRs

- METHOD HideServer(). If called, the details of server
name/address, user name are hidden from the application
program.

- New function: FW_DemoDB(). Connects to a demo MySql
server in the cloud for testing samples, when user does
not have access to his own server.

- New DATAs IsMySql and IsMariaDB
Whether the connected server is MySql server or MariaDB
server.
- New DATA nVersion: Server version in Numeric value
Eg Usage:

If oCn:IsMariaDB or oCn:nVersion >= 5.63
// do something
endif

- New: DATA bTrigger in Rowset: If assigned, the codeblock
is evaluated with the rowset object and the field name in
lowercase as parameters everytime any field is modified.
This can be used for automatic internal calculations.

- Fix: Incremental filter in xbrowse is not working when
oBrw:cFilterFld is assigned a value. Fixed.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
lucasdebeltran
Posts: 1303
Joined: Tue Jul 21, 2009 8:12 am
Contact:

Re: New FTDN December/Diciembre 2016 (FWH 16.12)

Post by lucasdebeltran »

Hello,

FWMARIADB does support a build in server?.

Thank you!.
Muchas gracias. Many thanks.

Un saludo, Best regards,

Harbour 3.2.0dev, Borland C++ 5.82 y FWH 13.06 [producción]

Implementando MSVC 2010, FWH64 y ADO.

Abandonando uso xHarbour y SQLRDD.
User avatar
karinha
Posts: 4882
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: New FTDN December/Diciembre 2016 (FWH 16.12)

Post by karinha »

Cambios en window.prg no reportado:

FWH16.10

Code: Select all

   // next 2 methods are still under development - FWHX1610
   METHOD SayText( cText, aRect, cAlign, oFont, aColor, nAddlStyle ) ;
         INLINE WndSayText( Self, cText, aRect, cAlign, oFont, aColor, nAddlStyle )
   
FWH16.12

Code: Select all

   // nuevo/novo/new - Modificado em: 04/01/2017  - Joao - FWHX1612
   METHOD SayText( cText, aRect, cAlign, oFont, nClrText, nClrBack, lBorder, nAddlStyle ) ;
         INLINE FW_SayText( Self, cText, aRect, cAlign, oFont, nClrText, nClrBack, lBorder, nAddlStyle )

   
João Santos - São Paulo - Brasil
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: New FTDN December/Diciembre 2016 (FWH 16.12)

Post by Enrico Maria Giordano »

In TGraph there are still a couple of calls to Lfn2Sfn(), that is definitely an obsolete function. Can you remove it?

EMG
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: New FTDN December/Diciembre 2016 (FWH 16.12)

Post by Antonio Linares »

Enrico,

What to use as a replacement for Lfn2Sfn() ? thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: New FTDN December/Diciembre 2016 (FWH 16.12)

Post by Antonio Linares »

Implemented in next FWH version, thanks

When and why they stopped working ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: New FTDN December/Diciembre 2016 (FWH 16.12)

Post by Enrico Maria Giordano »

Antonio Linares wrote:Implemented in next FWH version, thanks

When and why they stopped working ?
No, it didn't stop working, it's just obsolete. Or someone still using a Windows version without long file names support? Don't think so.

EMG
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: New FTDN December/Diciembre 2016 (FWH 16.12)

Post by Antonio Linares »

But FWH apps may run on older Windows versions

Are we breaking backwards compatibility with this change ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: New FTDN December/Diciembre 2016 (FWH 16.12)

Post by Enrico Maria Giordano »

Antonio Linares wrote:But FWH apps may run on older Windows versions

Are we breaking backwards compatibility with this change ?
From W95 we have long filenames support, if I remember correctly.

Anyway, keep in mind that the function LFN2SFN() is only used in TGraph. So yes, you safely remove it.

EMG
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: New FTDN December/Diciembre 2016 (FWH 16.12)

Post by nageswaragunupudi »

karinha wrote:Cambios en window.prg no reportado:

FWH16.10

Code: Select all

   // next 2 methods are still under development - FWHX1610
   METHOD SayText( cText, aRect, cAlign, oFont, aColor, nAddlStyle ) ;
         INLINE WndSayText( Self, cText, aRect, cAlign, oFont, aColor, nAddlStyle )
   
FWH16.12

Code: Select all

   // nuevo/novo/new - Modificado em: 04/01/2017  - Joao - FWHX1612
   METHOD SayText( cText, aRect, cAlign, oFont, nClrText, nClrBack, lBorder, nAddlStyle ) ;
         INLINE FW_SayText( Self, cText, aRect, cAlign, oFont, nClrText, nClrBack, lBorder, nAddlStyle )

   
Whatsnew.txt of FWH 16.11 describes usage of the method and function.
Regards

G. N. Rao.
Hyderabad, India
Post Reply