New FTDN February/Febrero 2014 (FWH 14.02)
Posted: Mon Mar 10, 2014 6:07 pm
February 2014 and
January 2014
============
* Fix: Class TPrinter Method Rebuild() was resetting the previous selected printer.
Now it is ok:
http://fivetechsupport.com/forums/viewt ... 29#p156329
* ENhancement: Some changes on Class TBar regarding the 2013 style support.
* New: function FW_AdoAddModiColSQL( cTable, aCol, cAddOrModi ) --> cSql
in fwh\source\function\adofuncs.prg.
Returns SQL statement approapriate to the ADO connection opened through FW
function to Add or Modify a column.
Usage:
cSql := FW_AdoAddModiColSQL( "customer", { "DOB", 'D', 8, 0 }, "ADD" )
oCn:Execute( cSql )
* New: translate in fwsqlcmd.ch:
SQL ALTER TABLE ADD/MODIFY COLUMN aCol --> cSql
example: cSql := SQL ALTER TABLE CUSTOMER MODIFY COLUMN { "DOB", 'T', 8, 0 }
oCn:Execute( cSql )
* Enhancement: XBrowse Cell Tooltips:
When cell tooltips are defined by assigning oCol:bToolTip, old tooltips are
correctly destroyed and new tooltips if any are displayed properly while
mouse hovering moves from cell to another cell.
oCol:bToolTip is now evaluated with two additional parameters, viz., the
column object and visible row number on which the mouse is hovering.
Parameters: ( oBrw, nMouseRowPixel, nMouseColPixel, nFlags, oHoveredColumn, nMouseRowPos )
nMouseRowPos - oBrw:nRowSel indicates the number of rows to be skipped to fetch
information from the hovered row
* Fix: XBrowse: Method GoDown() is expected to return numeric value. But the method
was returning NIL when bPastEof is defined and called. Fixed now.
* Improement: prv2pdf.prg: Call to CloseEnhMetafile() is replaced by DeleteEnhMetaFile()
to properly release the Emf handle.
See: http://forums.fivetechsupport.com/viewt ... le#p156635
* Fix: Printer.prg: When PRINT command was used to create PDF file. the meta files
created in the temp folder were not getting deleted. Now fixed.
http://forums.fivetechsupport.com/viewt ... le#p156635
* Fixes: tmetafil.prg and printer.prg: please see:
http://forums.fivetechsupport.com/viewt ... 56&start=0
* New: XBrowse.prg: New Data aBookMarks. This holds an array of bookmarks (recno) currently displayed
by the browse. This is useful for accessing values of a row other than the highlighted record easily.
* Enhancements: datarow.prg: Default edit dialog improved.
Picture clause issues with numerics in Ado with some providers (eg. Oracle) fixed.
* New: function FW_ToggleDeskTop() in olefuncs.prg. Call to this function minimizes all visible
windows and shows desktop.
* Fix: XBrowse: Recently enhanced ability of cValToStr() to handle codeblocks created a side
effect in SetArray() method where some elements of array are codeblocks. Fixed now.
January 2014
============
* Fix: Class TPrinter Method Rebuild() was resetting the previous selected printer.
Now it is ok:
http://fivetechsupport.com/forums/viewt ... 29#p156329
* ENhancement: Some changes on Class TBar regarding the 2013 style support.
* New: function FW_AdoAddModiColSQL( cTable, aCol, cAddOrModi ) --> cSql
in fwh\source\function\adofuncs.prg.
Returns SQL statement approapriate to the ADO connection opened through FW
function to Add or Modify a column.
Usage:
cSql := FW_AdoAddModiColSQL( "customer", { "DOB", 'D', 8, 0 }, "ADD" )
oCn:Execute( cSql )
* New: translate in fwsqlcmd.ch:
SQL ALTER TABLE ADD/MODIFY COLUMN aCol --> cSql
example: cSql := SQL ALTER TABLE CUSTOMER MODIFY COLUMN { "DOB", 'T', 8, 0 }
oCn:Execute( cSql )
* Enhancement: XBrowse Cell Tooltips:
When cell tooltips are defined by assigning oCol:bToolTip, old tooltips are
correctly destroyed and new tooltips if any are displayed properly while
mouse hovering moves from cell to another cell.
oCol:bToolTip is now evaluated with two additional parameters, viz., the
column object and visible row number on which the mouse is hovering.
Parameters: ( oBrw, nMouseRowPixel, nMouseColPixel, nFlags, oHoveredColumn, nMouseRowPos )
nMouseRowPos - oBrw:nRowSel indicates the number of rows to be skipped to fetch
information from the hovered row
* Fix: XBrowse: Method GoDown() is expected to return numeric value. But the method
was returning NIL when bPastEof is defined and called. Fixed now.
* Improement: prv2pdf.prg: Call to CloseEnhMetafile() is replaced by DeleteEnhMetaFile()
to properly release the Emf handle.
See: http://forums.fivetechsupport.com/viewt ... le#p156635
* Fix: Printer.prg: When PRINT command was used to create PDF file. the meta files
created in the temp folder were not getting deleted. Now fixed.
http://forums.fivetechsupport.com/viewt ... le#p156635
* Fixes: tmetafil.prg and printer.prg: please see:
http://forums.fivetechsupport.com/viewt ... 56&start=0
* New: XBrowse.prg: New Data aBookMarks. This holds an array of bookmarks (recno) currently displayed
by the browse. This is useful for accessing values of a row other than the highlighted record easily.
* Enhancements: datarow.prg: Default edit dialog improved.
Picture clause issues with numerics in Ado with some providers (eg. Oracle) fixed.
* New: function FW_ToggleDeskTop() in olefuncs.prg. Call to this function minimizes all visible
windows and shows desktop.
* Fix: XBrowse: Recently enhanced ability of cValToStr() to handle codeblocks created a side
effect in SetArray() method where some elements of array are codeblocks. Fixed now.