New FTDN July 2018 (FWH 18.07)
Posted: Fri Sep 21, 2018 8:42 am
July 2018
=========
* Function FWBitmap( <cName> ): Application crashes when the function
is called with no parameters or non-character parameter. Fixed.
* XBROWSE:
- Method PaintData(...) of TXBrwColumn:
When the data of a cell is changed, it is possible now to call
oCol:PaintData() to paint the current cell value, without having
to call oBrw:RefreshCurrent() which involves painting the entire
row again.
- Inline editing enhancement: When a character value is being edited,
if oCol:nDataLen is greater than the length of the value, then
Get allows entry of data upto oCol:nDataLen.
- new samples\xbruser.prg: Demonstrates painting of xbrowse using
bPaintHeader, bPaintRow, bPaintFooter
* adofuncs.prg
- Improved compatibility of pivot functions with MSSQL.
- function FW_ValToSQL( cVar ): Fixed compatibility issue with MSSQL
where cVal includes double quotes.
* function oWndFromhWnd( hWnd ) was not working when hWnd belongs to
a modal dialog. Now it works for modal dialogs also.
* FWMARIADB:
- Enhancement: method FieldGet( aFields ) --> Array of Field/Expr values.
aFields can be an array of fiend numbers/ field names/ expressions
using field names.
Eg: oRs:FieldGet( { "NAME+','+CODE","ID",":RecNo" } ) --> aValues
- Enhanced
method GetRows( [anRecs], [nStartPos], [aFields], [lWithRecNum] )
--> Returns array containing values of the records (default all
records) meeting the filter condition, if any, in the sorted order.
Parameter: lWithRecNum (last parameter) If .t., RecNo() is added to
each row as the column.
Call to this method does not change the record position.
oRs:GetRows( [lWithRecNum] ) --> All filtered records in sorted order.
oRs:GetRows( nRecs, [lWithRecNum] ) --> First nRecs (filtered in sorted
order)
oRs:GetRows( nRecs, nStartPos, [lWithRecNum] ) -->
nRecs starting from nStartPos
oRs:GetRows( aRecs, [lWithRecNum] ), where aRecs is an array of record
numbers. Records with the recnos contained in aRecs, whether or not
meeting filter condition in the same order of the array aRecs.
If a recno does not exist, blank record is included.
3rd Parameter: aFields ( array of field numbers / field names / expressions
containing field names ). If specified, returned array contains the
values of the fields specified
- Added samples\maria16.prg to demonstrate one parent with two child tables.
* control.prg, window.prg, scrlpanl.prg: Change of any control in the main
or child dialogs (folders, panels, etc) result in evaluation of bWhen of
all controls in the main and all visible child windows.
http://forums.fivetechsupport.com/viewt ... =3&t=36094
* fivewin.ch: Fix to avoid warning when compiled with warning level 2.
* New function FW_MSSQLDB() --> Ado Connection Object
FWH is providing MSSQL server in the cloud on a temporary basis for 2 months
for purposes of tesing ADO functionaluty with MSSQL
=========
* Function FWBitmap( <cName> ): Application crashes when the function
is called with no parameters or non-character parameter. Fixed.
* XBROWSE:
- Method PaintData(...) of TXBrwColumn:
When the data of a cell is changed, it is possible now to call
oCol:PaintData() to paint the current cell value, without having
to call oBrw:RefreshCurrent() which involves painting the entire
row again.
- Inline editing enhancement: When a character value is being edited,
if oCol:nDataLen is greater than the length of the value, then
Get allows entry of data upto oCol:nDataLen.
- new samples\xbruser.prg: Demonstrates painting of xbrowse using
bPaintHeader, bPaintRow, bPaintFooter
* adofuncs.prg
- Improved compatibility of pivot functions with MSSQL.
- function FW_ValToSQL( cVar ): Fixed compatibility issue with MSSQL
where cVal includes double quotes.
* function oWndFromhWnd( hWnd ) was not working when hWnd belongs to
a modal dialog. Now it works for modal dialogs also.
* FWMARIADB:
- Enhancement: method FieldGet( aFields ) --> Array of Field/Expr values.
aFields can be an array of fiend numbers/ field names/ expressions
using field names.
Eg: oRs:FieldGet( { "NAME+','+CODE","ID",":RecNo" } ) --> aValues
- Enhanced
method GetRows( [anRecs], [nStartPos], [aFields], [lWithRecNum] )
--> Returns array containing values of the records (default all
records) meeting the filter condition, if any, in the sorted order.
Parameter: lWithRecNum (last parameter) If .t., RecNo() is added to
each row as the column.
Call to this method does not change the record position.
oRs:GetRows( [lWithRecNum] ) --> All filtered records in sorted order.
oRs:GetRows( nRecs, [lWithRecNum] ) --> First nRecs (filtered in sorted
order)
oRs:GetRows( nRecs, nStartPos, [lWithRecNum] ) -->
nRecs starting from nStartPos
oRs:GetRows( aRecs, [lWithRecNum] ), where aRecs is an array of record
numbers. Records with the recnos contained in aRecs, whether or not
meeting filter condition in the same order of the array aRecs.
If a recno does not exist, blank record is included.
3rd Parameter: aFields ( array of field numbers / field names / expressions
containing field names ). If specified, returned array contains the
values of the fields specified
- Added samples\maria16.prg to demonstrate one parent with two child tables.
* control.prg, window.prg, scrlpanl.prg: Change of any control in the main
or child dialogs (folders, panels, etc) result in evaluation of bWhen of
all controls in the main and all visible child windows.
http://forums.fivetechsupport.com/viewt ... =3&t=36094
* fivewin.ch: Fix to avoid warning when compiled with warning level 2.
* New function FW_MSSQLDB() --> Ado Connection Object
FWH is providing MSSQL server in the cloud on a temporary basis for 2 months
for purposes of tesing ADO functionaluty with MSSQL