April 2018
==========
* Enhancement: function SETSOCKOPT() accepts a fourth parameter. Thanks to Taavi!
* printer.prg: methods GetPixel() and SetPixel() fixed.
* TWindow class: New method GetPixel( nX, nY ) --> nColor
* XBROWSE:
- Method Value of TXBrwColumn: This method evaluates (::oBrw:cAlias)->( ::bEditValue )
in TRY/CATCH block, so that if the evaluation fails, default value is returned.
The side effect is that in such cases, original alias is not restored. This is fixed
now.
http://forums.fivetechsupport.com/viewt ... =3&t=35583
- Method Edit() of TXBrwColumn was giving runtime error with some older versions of
Harbour when nEditType = EDIT_GET.
http://forums.fivetechsupport.com/viewt ... =6&t=35568
Now this works with all versions of Harbour.
- New data bBmpAction of TXBrwColumn: If specified, evaluated with column object as
parameter when the bitmap in a column in the selected row is clicked.
- Fix: bEditWhen had no effect on BtnAction in case of EDIT_BUTTON. Now fixed. When
bEditWhen returns false, button action is not executed.
- lFullGrid: When data is empty, fullgrid is not painted. Now it is ok.
- EDIT_DATE: Now the date picture specified is applied correctly to the DtPicker.
- New DATA: nRecSelBarBtnNo: If specified, bitmap is displayed on the recordselector
on GetBar when lGetBar/lSeekBar is .t.
- Method SetChecks() enhancement: This method now applies to columns if value is
logical even if cDataType is nil.
- New method IsSelectedRow() --> .t./.f.: (Same as AScan( ::aSelected, ::bookmark ))
- New method SelectRow( nOperation ) --> lSelected.
Same as method Select() but works when lMultiSelect is .f.. Useful for programmer
controlled multiple selections.
* TGET:
- Extension to SPINNER clause. SPINNER BUTTONS <cbmp1>,<cbmp2> displays two buttons on
left and right for decrementing and incrementing the values. If cbmp1 or cbmp2 or both
is/are empty, default bitmaps are provided. Each button's width is equal to the height
of the Get. The width specified for the Get should include extra space for the
buttons, which is twice the height of the Get.
- New clause RIHGTTOLEFT. Applies to numeric gets only. When specified, formatted number
is displayed right aligned, even during edit. Digits entered are inserted at the right
most position and the text shifted to the left. Delete key or back key removes the
last digit and moves the remaining text to the right.
* New function FW_ArrGroupSum( aData, nGroupCol, [nTextCol], aSumCols, [lSummaryOnly] )
--> aData
Sorts array on nGroupCol and totals each column in aSumCols. SubTotals for each value
in nGroupCol value is inserted after the group. Grand totals are appended at the end.
Oringal array is not modified.
Example:
USE CUSTOMER
aData := FW_DbfToArray( "STATE,CITY,AGE,SALARY" )
aData := ArrGroupSum( aData, 1, 2, { 3, 4 } )
XBROWSER aData
* CLASS TToasT
- New DATAS:
DATA nXOffSet INIT 0
DATA nYOffSet INIT 0
to allow modify position of alert
- News parameters in:
METHOD NewToast( nType, cText, cBmp, nWidth, nHeight, oWnd, nClrPane, nClrPane2, ;
nClrText, nLev, nTime, lUp, bRet, lLeftP, lAlert, lShadow, ;
nOffY, nOffX, nFont ) CLASS TToast
- Modified to allow include alert message in parent dialog o window ( oWnd parameter )
- Others aesthetic improvements
* FWMARIADB:
- Method ApplyParams( cSql, aParams )
It was possible to use variable parameters in the format :1,:2,...,:n. This had to be
discontinued because this is creating errors where cSql contains time constants like
'01:10:20', etc. Format &1,&2,...,&n still works.
http://forums.fivetechsupport.com/viewt ... =3&t=35587
- Method SetFilter() and Refilter() with Space or trailing spaces as
parameters was not working. Now it works when the field is fixed
with CHAR field.
Example:
oRs:SetFilter( "code = ?", { " " } )
works now when code is defined as CHAR(n). (Not VarChar(n))
* BITMAP.PRG
When a non-existant bitmap file is specified, paint() method
enters an endless loop. Fixed.
http://forums.fivetechsupport.com/viewt ... 18&t=35670
* Updated function SOURCEEDIT with new screen and new parameters added
SourceEdit( @<cSource>, <cTitle>, <nClrBack>, <nTop>, <nLeft>, <nBottom>, <nRight>,;
<nClrText>, <cFile>, <nLin>, <lRead>, <oDlg>, <lMnu>, <pDoc>, <nLex>, <bSetup>,;
<nSizeFont>, <lBold>, <bInit>, <lLoad>, <lModal>, <bExec>, <oMenu> )
lLoad : load Dll need
lModal : Show dialog in modal mode
bExec : Function user defined for build prgs
oMenu : Object Menu to dialog
Please look Wiki updated:
http://wiki.fivetechsoft.com/doku.php?i ... sourceedit
* New Sample: FELittle.Prg -> create little editor for edit and build prgs
Usage: FELittle <source file> <nLex>
Sample test Function SourceEdit with new improvements
Need SciLexer.Dll
Last DLL from https://bitbucket.org/fivetech/fivewin- ... downloads/
Others samples of use SourceEdit function
http://forums.fivetechsupport.com/viewt ... it#p210525
* DBCOMBO Enhancement: The restriction that item values should be character
values only is now removed. Item values can now be numeric or date values.
However all items values should be of the same datatype and of the same type
as the variable.
New FTDN April/Abril 2018 (FWH 18.04)
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: New FTDN April/Abril 2018 (FWH 18.04)
Published revised build 1
=====================
April 2018 (revised build)
==========================
* XBROWSE:
- Fix: In fastedit mode, next cell after edit is not painted in focused color. Fixed
* FWMARIADB:
- Important Fix: Due to a minor change in FWH1803, program is crashing when a rowset
is closed and set to nil. This happens only in xHarbour. With Harbour it is working
well. Fixed now.
http://forums.fivetechsupport.com/viewt ... =3&t=35675
=====================
April 2018 (revised build)
==========================
* XBROWSE:
- Fix: In fastedit mode, next cell after edit is not painted in focused color. Fixed
* FWMARIADB:
- Important Fix: Due to a minor change in FWH1803, program is crashing when a rowset
is closed and set to nil. This happens only in xHarbour. With Harbour it is working
well. Fixed now.
http://forums.fivetechsupport.com/viewt ... =3&t=35675