Components for Delphi and C++ Builder.

Go to Russian forum
Go to EhLib.com
It is currently 21 May 2022, 15:55

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: 15 Feb 2012, 20:28 
Offline
Администратор

Joined: 22 Dec 2011, 20:19
Posts: 335
Dear Developers,

We are glad to announce the new version (5.6) of EhLib software.

In this version:

* Fixed handling of the global variable OldStyleFlatBorder.
In previous versions, if OldStyleFlatBorder = False (default
value is False), then if TDBEditEh.Flat = True then
drawing boundaries of TDBEditEh in Flat style never worked.
In this version, if OldStyleFlatBorder = False then
drawing boundaries of TDBEditEh in Flat style will work
when the Windwos is in the Classic style and drawing Flat border
will not work when the Windwos is in Themed environments and
application use Themes.

+ Added a Images property in the class TEditButtonEh (TDBEditEh.EditButtons[i].Images)
of a TEditButtonImagesE type.

TEditButtonImagesEh = class(TPersistent)
published
property NormalImages: TCustomImageList;
property HotImages: TCustomImageList;
property PressedImages: TCustomImageList;
property DisabledImages: TCustomImageList;

property NormalIndex: Integer;
property HotIndex: Integer;
property PressedIndex: Integer;
property DisabledIndex: Integer;
end;

Now it is allowed to draw Images from ImageList in EditButtons of Edit controls
and columns of TDBGridEh. Images are drawn when
TEditButtonEh.Style = ebsGlyphEh and TDBEditEh.EditButtons[i].Images.NormalImages
is assigned.

+ Added EmptyDataInfo property in DBGridEh. If this property is enabled and DataSet is Active
and it contains no data, then DBGridEh draws <No data> text in the center
of the client area. You can specify the inscription for each DBGrid or set a
global variable DBGridEhEmptyDataInfoText that is located in the module DBGridEh.

+ Added EmptyDataInfo property in the TDBEditEh, TDBNumberEditEh, TDBComboBoxEh,
TDBLookupComboBoxEh. Use TDBEditEh.EmptyDataInfo.Text property to display
the text that will be displayed in the Edit control when it contains no data.

+ Added standart property Touch (supported in Delphi 2010 and higher) for DBGridEh,
TDBEditEh, TDBNumberEditEh, TDBComboBoxEh, TDBLookupComboBoxEh, TDBDateTimeEditEh.

+ Added the ability in design-time to open the Edit buttons collection editor
(EditButtons) in TDBEditEh, TDBNumberEditEh, TDBComboBoxEh, TDBLookupComboBoxEh,
TDBDateTimeEditEh controls.
A menu item to open the collection is in the context menu of the component that
opens on the right mouse button.

+ In TDBCheckBoxEh added the ability to set Empty value ('') for properties
ValueChecked, ValueUnchecked. This allows you to set the state of CheckBox
for Null value of DB field.

+ In DBGridEh added OnDataGroupGetRowParams event.
The event is used to customize information for group records (when
Grid works in data grouping mode - Grid.DataGrouping.Active = True).
In the event you can specify color, font, text and pictures for the group row.

+ in the module DBGridEhImpExp added a global procedure - ExportDBGridEhToOleExcel.
The procedure is designed to export data from DBGridEh to MS Excel.
The procedure uses OLE to export data which means the MS Excel must be installed
on the computer to allow this procedure work.

+ At design-time a context menu of TDBGridEh component displays information about
the version of the library.

+ Added global procedure - DrawProgressBarEh. The procedure allows you to draw a picture
in the form of a progress bar (ProgressBar). It can be used to display
progress bar in grid cells. See example of use in the DEMOS\DEMO1 project.

Best regards:
Dmitry V. Bolshakov
Home page: http://www.ehlib.com
E-mail: support@ehlib.com

_________________
Best regards
Admin


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group