New FTDN february/febrero 2015 (FWH 15.02)

New FTDN february/febrero 2015 (FWH 15.02)

Postby Antonio Linares » Mon Feb 23, 2015 9:23 am

February 2015
=============

* Enhancement: Class TOutLook method AddItem(), disabled buttons were not
looking in gray colors. Now it is ok. Many thanks to Carlos Vargas!

viewtopic.php?p=171117#p171117

* Fix: ButtonBar Buttons were painting a border when 2007 or 2010 style was
used. Now it is ok. Many thanks to Carlos Vargas!

viewtopic.php?f=6&t=30034

* Fix: xbrowse.prg. When user bitmap is specified for column buttons
the default bitmap handle is not destroyed. Now fixed.

* Fix: Class TRBtn method LButtonUp( nRow, nCol ) was not properly
setting the related popup menu coordinates. Many thanks to Günther:

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

* Fix: MsgDate() was always showing an incorrect date. Also the selected
date color was not enough eye catcher. Now it is ok.

* New: Transparent Buttonbars: Buttonbars defined without 2007/2010/2013
styles, if oBar:lTransparent is set to .T., the bar is painted
transarently. Tranparent buttons on such bar are also painted
transparently displaying the background of the window.

* Improved: TBtnBmp: Improved painting and resizing of bitmaps,
bug fixes and support for transparent buttonbars.

* Windows.prg: Improved PNG file loading and rendering by using gdi class

* tgdiplus.prg: Inserted translate for xharbour compatibility

* FWPreviewToPDF() (file prv2pdf.prg) now uses GDI and does not require
Freeimage.dll

* Improvements to XBrowser: Now the dialog can be resized and maximized.
In autosort mode, toggling of lSeekWild and lIncrFilter is possible by
selecting suitable choice in the combobox in top.

* Enhancement: Class TMsgBar DATA lLeft, .F. by default, arranges the
MsgBar items from left to right, instead of right to left.

* Enhancement: TPanel now inherits parent windows' font.

* Fix: XBrowse: Fixed runtime error when lBtnTransparent is used when
column background is gradient.

* Enhancement: Class TScintilla has been greatly enhanced due to the development
of samples\Fivedit.prg
regards, saludos

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

Re: New FTDN february/febrero 2015 (FWH 15.02)

Postby Antonio Linares » Sun Mar 01, 2015 8:58 am

Published a revised build (2) of FWH 15.02

March 2015 (Included in Revised build FWH 15.02)
==========

* New: New DATA lRight FOR Class TMsgItems objects allow to have MsgBar
items at the left and at the right. Example of use:

DEFINE MSGBAR oMsgBar OF oWnd ...

oMsgBar:lLeft = .T. // we want items to start from left to right

DEFINE MSGITEM oItem1 OF oMsgBar // it goes to the left

DEFINE MSGITEM oItem2 OF oMsgBar

oItem2:lRight = .T. // it goes to the right

* BtnBmp:
- Reported bugs on painting fixed.

- JPG also are read through GDI

- Fix: When mouse hovers the button and oBtn:lBoxSelect is false,
border is painted even when the button is created with NOBORDER.
Fixed.

- Optionally, programmer can control precise placement and size of
bitmaps by assigning a rectangle to oBtn:aBmpRect. If oBar:aBmpRect
is assigned, this array is taken as default for all buttons of the bar.

Structure of the array { [nTop], [nLeft], [nBottom], [nRight], [lnResizeMode] }

If any element is NIL, it defaults to the ClientRect's coordinates.

if a negative value is specified, the coordinate is calculated by
substracting from the client rectangle's edge. Eg: { nil, nil, -10, nil }
is cosidered as client rect with a gap of 10 pixels at the bottom.

If a fractional value ( > 0 and < 1 ) is specified, this is considered
as a fraction of the width/height as the case may be. Eg. { 0, 0, 0.8, 0.9 }
is converted as justified to top left with width of 90% and height of 80%
of the button size.

5th optional element of the array: ulResizeMode.
Default is no resizing if the bitmap's size is less than the rect. If
width or height exceeds the size of the rect, the bitmap is resized to
fit inside the rect without changing the aspect ratios.

Value of 1 or .T. (Stretch): The image is resized to fill the rect. The
original aspect ratio is not maintained.

Value of 3: Image is enlarged or reduced to fit in the rect without
changing the aspect ratio.

* Bar.prg: New data aBmpRect is added as explained above.

* New: TMetroPanel class (metropnl.prg). New data bOnMoveBtn
TMetroBtn class: New Data bOnMove
When a button is dragged and dropped the codeblock
is executed with MetroPanel and Dragged Button as params
* Revised: \samples\metrptst.prg. Included use of bOnMove and
how to return from a Menu Panel to Parent panel

* New: CLASS TMultiGet CLASSDATA lChangeCaret works in the same way
as we recently implemented CLASSDATA lChangeCaret in Class TGet.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42203
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 3 guests