New FTDN January/Enero 2017 (FWH 17.01)

New FTDN January/Enero 2017 (FWH 17.01)

Postby Antonio Linares » Wed Jan 25, 2017 8:37 am

January 2017
============

* MENUS: Added clausule COLORBOX

viewtopic.php?f=3&t=33450&start=0

* New: METHOD SetChangePrompt (cText) CLASS TMenuItem

Adjust width item when prompt of item is changed: added

viewtopic.php?f=3&t=33528#p197748

These added features make it easy to make dynamic menus

* New: definition and/or modification prompt item with codeblock
or array values

viewtopic.php?f=3&t=33528#p197792

* New: METHOD RestorePrompt() CLASS TMenuItem

Restore prompt at previous value

* Fix: file crc.c was not included in FWH. Now it is inside again:

viewtopic.php?p=197464&p197464

* Enhancement: Class TDbCombo support for bKeyChar event:

viewtopic.php?p=197284#p197284

* Enhancement: Class TDbCombo supports bLostFocus event:

viewtopic.php?p=197281#p197281

* Enhancement: removed calls to Lfn2Sfn() from Class TGraph:

viewtopic.php?p=197121&#197121

* Enhancement: Errors logs now include the used C compiler:

viewtopic.php?p=196809#p196809

* New: New makefile for Harbour + FWH + BCC7 in FWH\makes\bor7make.zip

viewtopic.php?f=3&t=33385&start=0

* New samples/xbrprogd.prg: use xbrowse as meter

viewtopic.php?f=6&t=33221&p=195842#p195842

* Enhancement: ToolTips.
Since FWH 8.03 it is possible to assign text, array or
codeblock returning text or array to obj:cToolTip.
By assigning array, it is possible to specify title, icon,
text and back colors. The functionality is now extended by
adding 3 more elements to specify max width, delay time
and delay type.
Array Specification {
1. ToolTip Text: Maximum 99 characters
[2. Title, [3. Icon]]
Icon can be a constant ( 0.TTI_NONE, 1.TTI_INFO,
2.TTI_WARNING or 3.TTI_ERROR )
or
Valid GDI Handle of an Icon
or
Icon file name or Icon name from resource
[4.Text Color]
[5.Back Color]
[6.Max Width in pixels]
[7.Delay time in milli seconds
[8.Delaytype]] (0.TTDT_AUTOMATIC,1.TTDT_RESHOW,2.TTDT_AUTOPOP
3.TTDT_INITIAL)

* XBROWSE:
- New: XBrColumn new DATA bCellToolTip: CodeBlock to return
tooltip text.
To show tooltip when mouse hovers over a cell. This supercedes
oCol:bTooTip, which is depricated.
Using bToolTip requires the programmer to write a separate
function to naviato the mouse over row, pick the text and re-
navicate to the current row, which is confusing and error-prone.
In case of bCellToolTip, xbrowse first navigates to the mouse
over row and then evaluates the codeblock with mouse over column
object as parameter and returns to the current row. This
simplifies the programmer's job.

It is suggested to use bCellToolTip in future development instead
of bToolTip.

Example usage:
oCol:bCellToolTip := { |oCol| cValToChar( oCol:Value ) }
fwh\samples\xbceltip.prg
- Fix: Painting of column header while swapping columns is incorrect
due to a bug introduced in FWH15.10. Fixed.
viewtopic.php?f=6&t=33448

- Enhancement: MakeTotals() and ReCalcTotals()
When a column is modified inline, the total of that
column alone is incrementatlly modified and footer
of that column was being refreshed. Now all affected
columns are automatically incrementally modified
and footers refreshed.
This was applicable to inline edits only. If the
programmer directly modifies values of the database
or appends or deletes, the programmer had to specifically
call Maketotals(), which is a slow process and call
refreshfooters() in his program.
Now, when oBrw:Delete() is used to delete a row, the
totals are automatically incrementally recalculated and
footers refreshed.
When database is modified or appended using the datarow
object, i.e., by calling oBrw:EditSource( .t./ .f. ),
the totals are automatically incrementally retotalled
without any extra code from the programmer.
If the programmer does not use built-in datarow but
uses his own way of editing or appending data then:
Appending:
Call oBrw:SaveTots( .t. ) // .t. before appending
Append data
Call oBrw:ReCalcTotals() // faster than make totals
Modifying/Editing:
Call oBrw:SaveTots()
Modify data
Call oBrw:ReCalcTotals()

* Fix: xbrowser.prg. All the 6 bitmaps created are not being released.
fixed now.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41206
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: New FTDN January/Enero 2017 (FWH 17.01)

Postby Antonio Linares » Tue Jan 31, 2017 11:50 am

FWH 17.01 build 2
===============

- New Data: oCol:Var
This can be used in a Get as
@ r,c GET oBrw:cHeader:Var PICTURE .....
Input into this Get is equivalent to inline edit
of the cell.

* Fix: XBrowse.prg: Fixed inaccurate compuation of cell coordinates
while using lSeekBar or lGetBar

* Fix: Spaces between image and prompt in menuitems of menu principal

* Fix: resources in menuitems of menu principal
when the height of the images is greater than the height of the menu,
it makes the width of the item larger

* Fix: colors in menu principal mdichild

* Fix: Icon Sysmenu in menu principal of mdichild

* Fix: Width bitmaps in menus popup ( Adjust and not adjust clausule )

* New: implemented control TGif ( Method New modified )
( Thanks to Manuel Alvarez - Mastintin )
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41206
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to WhatsNew / Novedades

Who is online

Users browsing this forum: No registered users and 6 guests