New FTDN December/Diciembre 2016 (FWH 16.12)

New FTDN December/Diciembre 2016 (FWH 16.12)

Postby Antonio Linares » Thu Dec 22, 2016 9:24 am

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

* Enhancement: function MsgDate() increased used font:

viewtopic.php?p=196570#p196570

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

viewtopic.php?p=196228#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:

viewtopic.php?p=196242#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
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

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

Postby lucasdebeltran » Thu Dec 22, 2016 5:53 pm

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
lucasdebeltran
 
Posts: 1303
Joined: Tue Jul 21, 2009 8:12 am

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

Postby karinha » Wed Jan 04, 2017 5:29 pm

Cambios en window.prg no reportado:

FWH16.10

Code: Select all  Expand view

   // 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  Expand view

   // 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 - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7822
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

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

Postby Enrico Maria Giordano » Thu Jan 05, 2017 12:56 pm

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

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

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

Postby Antonio Linares » Fri Jan 06, 2017 9:09 pm

Enrico,

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

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

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

Postby Enrico Maria Giordano » Fri Jan 06, 2017 10:09 pm

You can just delete it. We don't need of short file names any longer.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

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

Postby Antonio Linares » Sat Jan 07, 2017 8:33 am

Implemented in next FWH version, thanks

When and why they stopped working ?
regards, saludos

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

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

Postby Enrico Maria Giordano » Sat Jan 07, 2017 10:21 am

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
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

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

Postby Antonio Linares » Sat Jan 07, 2017 10:53 am

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
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

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

Postby Enrico Maria Giordano » Sat Jan 07, 2017 10:57 am

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
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

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

Postby nageswaragunupudi » Sun Jan 08, 2017 2:44 am

karinha wrote:Cambios en window.prg no reportado:

FWH16.10

Code: Select all  Expand view

   // 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  Expand view

   // 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
User avatar
nageswaragunupudi
 
Posts: 10635
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to WhatsNew / Novedades

Who is online

Users browsing this forum: No registered users and 5 guests