New FTDN Oct. 2018 (FWH 18.10)
Posted: Sun Nov 11, 2018 11:24 am
* TDATABASE:
- Data was being trimmed while saving to memo fields. Now data is saved along
with trailing spaces if any without trimming.
http://forums.fivetechsupport.com/viewt ... =6&t=36178
* Enhanced Active command of Dialog:
ACTIVATE DIALOG oDlg AS MDICHILD.
In an MDI environment, converts the dialog as mdichild and activates.
On activation, the variable oDlg now refers to the new mdichild window
and all actions and codeblocks using oDlg variable now act on the
mdichild window.
fwh\samples\mdidlg.prg
http://forums.fivetechsupport.com/viewt ... =3&t=36244
* FWMARIADB Connection
- New DATA lSilent INIT .f.
When set to .T. all messages to screen are suppressed. Useful for
scheduled tasks, etc.
- Resolved issues with older versions of MySql( eg. 5.1 and earlier)
which do not support system variable "lc_messages".
* New function FW_DbfRenameField( cDbf, cField, cNewName ) --> lSuccess
Renames a field of DBF. Works when the DBF file is available for
exclusive open. Caller should ensure that the cNewName is a valid
fieldname. Changing field name may invalidate some indexes and need
recreation.
http://forums.fivetechsupport.com/viewt ... =6&t=36303
* Fix: TBitmap and TImage: Vertical and horizontal scrollbars are moving
the image horizontally and vertically. Fixed.
* TGet: Pasting is not working properly when picture clause @R is used.
Fixed.
* New: Gets with loop variable as array subscript:
It is not possible to create a Get using loop variable like this:
for i := 1 to len( aData )
for j := 1 to len( aData[ i ] )
@ r,c GET aData[ i, j ] .....
next
next
Now it is possible to create such gets using the new SUBSCRIPT clause;
eg: @ r,c GET aData SUBSCRIPT i,j ....
Please see
http://forums.fivetechsupport.com/viewt ... =3&t=36139
for more details
* Enhancement: XBrowse and TDatarow:
When a field of DBF is changed and saved, the changes automatically made
by RDD to other fields of type "=" and "^" are now automatically refreshed.
* New: XImage cropping image:
New datas:
lCrop INIT .f. // When set to .t. enables user to crop image
hCrop // holds bitmap of cropped image
bOnCrop // Optional action to be taken when crop is finished. Evaluated
with oImage as parameter.
Default behavior without additional programming:
User may right click on the image and select "Crop" in the context menu.
Then user can draw a crop rectangle by dragging mouse with left button
pressed. When the left button is released, the crop is complete and the
cropped image is displayed in a new dialog. The user can then either
discard, save or copy the cropped image to clipboard with right-click.
Programatically, crop action can be triggered by setting lCrop to .T.
Programmer can override the default behavior by specifying bOnCrop code
block
For more information please see:
http://forums.fivetechsupport.com/viewt ... =3&t=36222
* Control.prg: New method ChangeParent( oWnd/hWnd )
* Fixes: AEvalwhen issues with mdichild windows and dialogs in mdichild
windows pointed out are fixed.
http://forums.fivetechsupport.com/viewt ... t3#p215877
http://forums.fivetechsupport.com/viewt ... =6&t=36117
* Buttonbar Group Separators painting enhancements:
- Group label of last group is not being painted correctly and the group
is not closed with a right separator. Now the group is closed with a
right separtor if it has group label and the label is painted correctly.
- It is now possible to have groups and labels in the right aligned buttons
also.
http://forums.fivetechsupport.com/viewt ... =3&t=36298
* TGet CueBanner enhancement:
CueBanner of Gets created on a dialog appear immediately when the dialog
is activated but not for Gets created on a Window. They are only displayed
when refreshed or got and lost focus.
Now, Cuebanner is visible immediately when window is activated also.
* TGET: New Clause INFIELD
Description of all new clauses and datas
http://forums.fivetechsupport.com/viewt ... =0#p216566
New Samples: infield1.prg, infield2.prg, subscript0.prg
* TMSGITEM: now allow use all type images
http://forums.fivetechsupport.com/viewt ... 15&start=0
* TRICHEDIT5: Bug fixed in class Triched5, METHOD SaveAsHtml( cFile )
* TTOAST: New Function by set time hide or show message
Other small modifications by aesthetic themes
* TWINDOW: New Method RButtonMenuUp, not finished yet
* PDMENU.PRG: Minor modification, fix adjust width menuitem for BOLD clause
* TBLOCKCHAIN CLASS: included in LIBS
Sample of use: BLOCKCHAIN.PRG
http://forums.fivetechsupport.com/viewt ... 15#p211321
* fix: Minor fix in source\function\strings.prg thanks to Euclides!
http://forums.fivetechsupport.com/viewt ... 05&start=0
* strings.prg enhancements.
- FWAddSting( <aString> ) enhanced to add a new translate or modify an
existing translation. <aString> can also be an array of <aString>s.
- New function FWSetString( nLang, {{ cEnglish, cTranslate},...} )
Modifies the translate for nLang, if the English word exists and
otherwise adds the new translate.
- FWMissingStrings() saves missing strings as a function FWAddString()
which can be edited and included in the application program.
- For detailed explanation, please see:
http://forums.fivetechsupport.com/viewt ... =3&t=36331
* XBROWSE:
- New method SetSortBmp( aBmps )
Allows replacement of the deault sort bitmaps with programmer
specified bitmaps. The parameter aBmps should be 2 or 3 images.
If a 3rd image is specified it is displayed on headers of
unsorted columns that can be sorted.
If the size of the image is greater than 24x24 pixels, the image
is resized to 24x24 pixels.
The method can be called while creating the browse or at runtime.
If called at runtime, the headers are automatically refreshed.
- Data was being trimmed while saving to memo fields. Now data is saved along
with trailing spaces if any without trimming.
http://forums.fivetechsupport.com/viewt ... =6&t=36178
* Enhanced Active command of Dialog:
ACTIVATE DIALOG oDlg AS MDICHILD.
In an MDI environment, converts the dialog as mdichild and activates.
On activation, the variable oDlg now refers to the new mdichild window
and all actions and codeblocks using oDlg variable now act on the
mdichild window.
fwh\samples\mdidlg.prg
http://forums.fivetechsupport.com/viewt ... =3&t=36244
* FWMARIADB Connection
- New DATA lSilent INIT .f.
When set to .T. all messages to screen are suppressed. Useful for
scheduled tasks, etc.
- Resolved issues with older versions of MySql( eg. 5.1 and earlier)
which do not support system variable "lc_messages".
* New function FW_DbfRenameField( cDbf, cField, cNewName ) --> lSuccess
Renames a field of DBF. Works when the DBF file is available for
exclusive open. Caller should ensure that the cNewName is a valid
fieldname. Changing field name may invalidate some indexes and need
recreation.
http://forums.fivetechsupport.com/viewt ... =6&t=36303
* Fix: TBitmap and TImage: Vertical and horizontal scrollbars are moving
the image horizontally and vertically. Fixed.
* TGet: Pasting is not working properly when picture clause @R is used.
Fixed.
* New: Gets with loop variable as array subscript:
It is not possible to create a Get using loop variable like this:
for i := 1 to len( aData )
for j := 1 to len( aData[ i ] )
@ r,c GET aData[ i, j ] .....
next
next
Now it is possible to create such gets using the new SUBSCRIPT clause;
eg: @ r,c GET aData SUBSCRIPT i,j ....
Please see
http://forums.fivetechsupport.com/viewt ... =3&t=36139
for more details
* Enhancement: XBrowse and TDatarow:
When a field of DBF is changed and saved, the changes automatically made
by RDD to other fields of type "=" and "^" are now automatically refreshed.
* New: XImage cropping image:
New datas:
lCrop INIT .f. // When set to .t. enables user to crop image
hCrop // holds bitmap of cropped image
bOnCrop // Optional action to be taken when crop is finished. Evaluated
with oImage as parameter.
Default behavior without additional programming:
User may right click on the image and select "Crop" in the context menu.
Then user can draw a crop rectangle by dragging mouse with left button
pressed. When the left button is released, the crop is complete and the
cropped image is displayed in a new dialog. The user can then either
discard, save or copy the cropped image to clipboard with right-click.
Programatically, crop action can be triggered by setting lCrop to .T.
Programmer can override the default behavior by specifying bOnCrop code
block
For more information please see:
http://forums.fivetechsupport.com/viewt ... =3&t=36222
* Control.prg: New method ChangeParent( oWnd/hWnd )
* Fixes: AEvalwhen issues with mdichild windows and dialogs in mdichild
windows pointed out are fixed.
http://forums.fivetechsupport.com/viewt ... t3#p215877
http://forums.fivetechsupport.com/viewt ... =6&t=36117
* Buttonbar Group Separators painting enhancements:
- Group label of last group is not being painted correctly and the group
is not closed with a right separator. Now the group is closed with a
right separtor if it has group label and the label is painted correctly.
- It is now possible to have groups and labels in the right aligned buttons
also.
http://forums.fivetechsupport.com/viewt ... =3&t=36298
* TGet CueBanner enhancement:
CueBanner of Gets created on a dialog appear immediately when the dialog
is activated but not for Gets created on a Window. They are only displayed
when refreshed or got and lost focus.
Now, Cuebanner is visible immediately when window is activated also.
* TGET: New Clause INFIELD
Description of all new clauses and datas
http://forums.fivetechsupport.com/viewt ... =0#p216566
New Samples: infield1.prg, infield2.prg, subscript0.prg
* TMSGITEM: now allow use all type images
http://forums.fivetechsupport.com/viewt ... 15&start=0
* TRICHEDIT5: Bug fixed in class Triched5, METHOD SaveAsHtml( cFile )
* TTOAST: New Function by set time hide or show message
Other small modifications by aesthetic themes
* TWINDOW: New Method RButtonMenuUp, not finished yet
* PDMENU.PRG: Minor modification, fix adjust width menuitem for BOLD clause
* TBLOCKCHAIN CLASS: included in LIBS
Sample of use: BLOCKCHAIN.PRG
http://forums.fivetechsupport.com/viewt ... 15#p211321
* fix: Minor fix in source\function\strings.prg thanks to Euclides!
http://forums.fivetechsupport.com/viewt ... 05&start=0
* strings.prg enhancements.
- FWAddSting( <aString> ) enhanced to add a new translate or modify an
existing translation. <aString> can also be an array of <aString>s.
- New function FWSetString( nLang, {{ cEnglish, cTranslate},...} )
Modifies the translate for nLang, if the English word exists and
otherwise adds the new translate.
- FWMissingStrings() saves missing strings as a function FWAddString()
which can be edited and included in the application program.
- For detailed explanation, please see:
http://forums.fivetechsupport.com/viewt ... =3&t=36331
* XBROWSE:
- New method SetSortBmp( aBmps )
Allows replacement of the deault sort bitmaps with programmer
specified bitmaps. The parameter aBmps should be 2 or 3 images.
If a 3rd image is specified it is displayed on headers of
unsorted columns that can be sorted.
If the size of the image is greater than 24x24 pixels, the image
is resized to 24x24 pixels.
The method can be called while creating the browse or at runtime.
If called at runtime, the headers are automatically refreshed.