New FTDN January/Enero 2009 (9.01)
Posted: Mon Jan 26, 2009 1:16 pm
January 2009
============
* Fix: Minor fix in Class TComboBox for VK_ESCAPE management. Thanks to Roberto Parisi!
* Enhancement: source\function\helpchm.prg function ExtHtm( cTopic ) has been modified to
accept anchors. Thanks to Günther!
* Fix: Class TMenuItem Method End() decrements CLASSDATA nInitId. This solves the problem
of non working menus after many hours of use, if many menus are created again and again.
* Enhancement: We are working on Unicode support for FiveWin to have support for languages
where two bytes for one character is required (Chinese, etc.). There are new functions:
DialogBoxW(), DialogBoxIndirectW(), CreateDlgW() and CreateDlgIndirectW(). These functions
are going to be automatically managed from Class TDialog. Thanks to Ruediger help!
* New: New examples FWH\samples\TestMap.prg and TestMap2.prg show how to build a map using
some images. It is a very interesting example that we recommend you to review. You can use
any image (plans, photos, etc.) and create a copy of it with unique colors for each area, and
you will be able to identify each area. See also FWH\samples\TestMap2.prg for a map on a
"photo".
* New: (SuperHeaders) MultiHeaders for XBrowse! Please review samples\TestHead.prg for a working
example. We have posted a screenshot in the forums to review how it looks. Thanks to Silvio!
To create a Xbrowse with MultiHeader:
oBrw:nHeader := 1
oBrw:aHeaderTop := { "Title1", "Title2" }
and assign to each column the type of header to use:
oCol:nHeaderType := nHeaderType
nHeaderType 0 = Normale
'' 1 = of type +
'' 2 = INIT |-
'' 3 = END -|
* New: OpenOffice support for XBrowse! New METHOD ToCalc( bProgress, nGroupBy, nPasteMode )
exports data from xBrowse to OpenOffice Calc. Thanks to Anser!
the following are the limitations as of now:
1) Group totals not implemented.
2) Another drawback is that OpenOffice Calc is showing a dialog while pasting data from
clipboard to calc. User has to click on the OK button of that Dialog to proceed with the
data transfer. As of now I don't know how to avoid that dialog but definitlely there will
be an option to bypass this.
3) Date format technique needs to be modified
* Fix: Class TWBrowse function WBrwLine(), it was not properly painting the bitmaps due to some
recent changes in it. Now it is ok.
* Fix: Class TPrinter function PrintBegin(), minor fix that was causing troubles in Windows XP.
It was fine in Vista. Now it is fine in both.
* Fix: function CtrlDrawFocus() was not working fine when dragging a control being child of
another control. Now it is ok. This applies to the use of the DESIGN clause.
* Fix: Reverted back the recent changes in Class TPrinter as they solved Vista SP2 compatibility
but break XP support.
* Enhancement: Class TDialog Method KeyChar() was not checking SetDialogEsc() state. Now it is
ok. Also, function SetDialogEsc( [<lOnoff>] ) --> lOldStatus now returns the previous status
value.
* Fix: Class TFolder Method SetPrompts( aPrompts, aHelps ), missing aHelps in Class header declaration.
Now it is ok.
* Fix: Class TButton removed default initialization for nHelpID to 100. It was not needed.
* Enhancement: Class TControl DATAs nHelpPosX, nHelpPosY have been removed as they are no longer
used.
* Enhancement: Class TWindow Method __HelpTopic(), added support to check help for TWindow too.
* Fix: Minor fix in Class TMsgItem Method Paint(). Thanks to Enrico!
* Enhancement: Class TPrinter Method Say(), now it uses a 1.5 factor to properly paint the part of
the letter under the groundline, i.e.: "g". Thanks to Günther!
* Enhancement: Class TGet enhanced support for ReadVar(). Thanks to some new preprocessor values added
in FiveWin.ch, the name of the edited variable is properly stored in the internal GET managed by the
Class TGet. So you can easily access to the GET edited variable name this way:
oMyGet:oGet:Name. Thanks to Colin!
* Enhancement: Class TXBrwColumn new DATA lBmpTransparent to have bitmaps transparency over xBrowse
(and with bitmap) brushed background. Thanks to Daniel Garcia Gil!
* Enhancement: Some changes in METHOD ClpRow( lFullRow ) CLASS TXBrowse, thanks to Günther!
============
* Fix: Minor fix in Class TComboBox for VK_ESCAPE management. Thanks to Roberto Parisi!
* Enhancement: source\function\helpchm.prg function ExtHtm( cTopic ) has been modified to
accept anchors. Thanks to Günther!
* Fix: Class TMenuItem Method End() decrements CLASSDATA nInitId. This solves the problem
of non working menus after many hours of use, if many menus are created again and again.
* Enhancement: We are working on Unicode support for FiveWin to have support for languages
where two bytes for one character is required (Chinese, etc.). There are new functions:
DialogBoxW(), DialogBoxIndirectW(), CreateDlgW() and CreateDlgIndirectW(). These functions
are going to be automatically managed from Class TDialog. Thanks to Ruediger help!
* New: New examples FWH\samples\TestMap.prg and TestMap2.prg show how to build a map using
some images. It is a very interesting example that we recommend you to review. You can use
any image (plans, photos, etc.) and create a copy of it with unique colors for each area, and
you will be able to identify each area. See also FWH\samples\TestMap2.prg for a map on a
"photo".
* New: (SuperHeaders) MultiHeaders for XBrowse! Please review samples\TestHead.prg for a working
example. We have posted a screenshot in the forums to review how it looks. Thanks to Silvio!
To create a Xbrowse with MultiHeader:
oBrw:nHeader := 1
oBrw:aHeaderTop := { "Title1", "Title2" }
and assign to each column the type of header to use:
oCol:nHeaderType := nHeaderType
nHeaderType 0 = Normale
'' 1 = of type +
'' 2 = INIT |-
'' 3 = END -|
* New: OpenOffice support for XBrowse! New METHOD ToCalc( bProgress, nGroupBy, nPasteMode )
exports data from xBrowse to OpenOffice Calc. Thanks to Anser!
the following are the limitations as of now:
1) Group totals not implemented.
2) Another drawback is that OpenOffice Calc is showing a dialog while pasting data from
clipboard to calc. User has to click on the OK button of that Dialog to proceed with the
data transfer. As of now I don't know how to avoid that dialog but definitlely there will
be an option to bypass this.
3) Date format technique needs to be modified
* Fix: Class TWBrowse function WBrwLine(), it was not properly painting the bitmaps due to some
recent changes in it. Now it is ok.
* Fix: Class TPrinter function PrintBegin(), minor fix that was causing troubles in Windows XP.
It was fine in Vista. Now it is fine in both.
* Fix: function CtrlDrawFocus() was not working fine when dragging a control being child of
another control. Now it is ok. This applies to the use of the DESIGN clause.
* Fix: Reverted back the recent changes in Class TPrinter as they solved Vista SP2 compatibility
but break XP support.
* Enhancement: Class TDialog Method KeyChar() was not checking SetDialogEsc() state. Now it is
ok. Also, function SetDialogEsc( [<lOnoff>] ) --> lOldStatus now returns the previous status
value.
* Fix: Class TFolder Method SetPrompts( aPrompts, aHelps ), missing aHelps in Class header declaration.
Now it is ok.
* Fix: Class TButton removed default initialization for nHelpID to 100. It was not needed.
* Enhancement: Class TControl DATAs nHelpPosX, nHelpPosY have been removed as they are no longer
used.
* Enhancement: Class TWindow Method __HelpTopic(), added support to check help for TWindow too.
* Fix: Minor fix in Class TMsgItem Method Paint(). Thanks to Enrico!
* Enhancement: Class TPrinter Method Say(), now it uses a 1.5 factor to properly paint the part of
the letter under the groundline, i.e.: "g". Thanks to Günther!
* Enhancement: Class TGet enhanced support for ReadVar(). Thanks to some new preprocessor values added
in FiveWin.ch, the name of the edited variable is properly stored in the internal GET managed by the
Class TGet. So you can easily access to the GET edited variable name this way:
oMyGet:oGet:Name. Thanks to Colin!
* Enhancement: Class TXBrwColumn new DATA lBmpTransparent to have bitmaps transparency over xBrowse
(and with bitmap) brushed background. Thanks to Daniel Garcia Gil!
* Enhancement: Some changes in METHOD ClpRow( lFullRow ) CLASS TXBrowse, thanks to Günther!