Difference between revisions of "LMD VCL 2012 - What`s New?"

From LMD
Jump to: navigation, search
Line 14: Line 14:
 
For recent Delphi releases LMD VCL package support same platforms as the VCL which is included in the IDE (e.g. Delphi 2009 officially supports Win2k or better only).
 
For recent Delphi releases LMD VCL package support same platforms as the VCL which is included in the IDE (e.g. Delphi 2009 officially supports Win2k or better only).
  
 +
=== 64bit support (Delphi XE2 and higher) ===
 +
All packages were ported to 64bit.
 +
'''Exception:''' Compatibility controls (dcllmdlegacy) can not be used in 64bit applications.
 +
{{Top}}
 
=== Common new features ===
 
=== Common new features ===
 
* Package names has been changed to be more consistent with VCL naming convention. We removed LMD version number from package names as well as IDE version number. Runtime package names are prefixed with "lmdrt", while design-time package names - with "dcllmd". Following are some examples of generated package files: lmdrtdocking.dcp, lmdrtdocking.bpi, lmdrtdocking.lib, dcllmddocking.dcp, dcllmddocking.bpi, dcllmddocking.lib. IDE version suffix is still contained only in generated "bpl": lmdrtdocking_160.bpl. This also makes easier to port a project (supposed to be compiled with run-time packages) to another IDE version. Since package references contains no IDE version as well as no LMD platform version, migrating to the next IDE version will require no changes.
 
* Package names has been changed to be more consistent with VCL naming convention. We removed LMD version number from package names as well as IDE version number. Runtime package names are prefixed with "lmdrt", while design-time package names - with "dcllmd". Following are some examples of generated package files: lmdrtdocking.dcp, lmdrtdocking.bpi, lmdrtdocking.lib, dcllmddocking.dcp, dcllmddocking.bpi, dcllmddocking.lib. IDE version suffix is still contained only in generated "bpl": lmdrtdocking_160.bpl. This also makes easier to port a project (supposed to be compiled with run-time packages) to another IDE version. Since package references contains no IDE version as well as no LMD platform version, migrating to the next IDE version will require no changes.
 
{{Top}}
 
{{Top}}
=== LMD Tools ===
+
== LMD Tools ==
  
==== LMDBaseEdit ====
+
=== General ===
 +
==== TLMDDBAliasNamesComboBox ====
 +
This component uses features of BDE which is deprecated. Therefore control was moved to Legacy Package. If you used this control, please make sure to install dcllmdlegacy package (not installed by default from installer!).
 +
==== TLMDDBDriverComboBox====
 +
This component uses features of BDE which is deprecated. Therefore control was moved to Legacy Package. If you used this control, please make sure to install dcllmdlegacy package (not installed by default from installer!).                                 
 +
==== TLMDDBTablesComboBox ====
 +
This component uses features of BDE which is deprecated. Therefore control was moved to Legacy Package. If you used this control, please make sure to install dcllmdlegacy package (not installed by default from installer!).
 +
                                   
 +
=== LMDBaseEdit ===
 
Three values added to TLMDEditOption type: eoAllowCopy, eoAllowCut, eoAllowPaste.
 
Three values added to TLMDEditOption type: eoAllowCopy, eoAllowCut, eoAllowPaste.
 
All LMDBaseEdit descendants which expose 'Options' property now support setting separate permissions for each of Copy/Cut/Paste action.  
 
All LMDBaseEdit descendants which expose 'Options' property now support setting separate permissions for each of Copy/Cut/Paste action.  
Line 30: Line 42:
  
 
{{Top}}
 
{{Top}}
==== LMDFormComboBox ====
+
=== LMDFormComboBox ===
 
New component TLMDFormComboBox added. This control is a generic combobox,  
 
New component TLMDFormComboBox added. This control is a generic combobox,  
 
allowing to dropdown a form containing any visual control:
 
allowing to dropdown a form containing any visual control:
Line 37: Line 49:
  
 
{{Top}}
 
{{Top}}
==== LMDDateTimePicker ====
+
=== LMDDateTimePicker ===
  
 
New component TLMDDateTimePicker added. LMDCalendar and LMDClock controls received Style and ColorScheme properties. See screenshots of LMDDateTimePicker with different calendar and clock styles:
 
New component TLMDDateTimePicker added. LMDCalendar and LMDClock controls received Style and ColorScheme properties. See screenshots of LMDDateTimePicker with different calendar and clock styles:
Line 48: Line 60:
  
 
{{Top}}
 
{{Top}}
==== LMDMaskEdit ====
+
=== LMDMaskEdit ===
 
LMDMaskEdit received new mask type: meDateTime and new property TimeSettings.
 
LMDMaskEdit received new mask type: meDateTime and new property TimeSettings.
  

Revision as of 19:48, 14 September 2011

<< Back to Getting started page

[edit]

General

Support for IDEs and operating systems

  • Compatible with Delphi XE2 and C++ Builder XE2, including 64bit support for Delphi XE2!
  • Supported IDEs
    • Delphi 6, 7, Delphi 2005 - 2010, XE + XE2
    • C++ Builder 6, 2006 - 2010, XE + XE2
    • Delphi 2005.NET - Delphi 2007.NET
    • Turbo (2006) Professional versions for Delphi, C++ and Delphi.NET
    • All corresponding Studio Products (BDS 2006, CRS 2007, CRS 2009, RAD Studio 2010, XE, XE2 etc.)
  • Supported operating systems
    • Win98 and WinNT4 or better (including Windows 7).

For recent Delphi releases LMD VCL package support same platforms as the VCL which is included in the IDE (e.g. Delphi 2009 officially supports Win2k or better only).

64bit support (Delphi XE2 and higher)

All packages were ported to 64bit. Exception: Compatibility controls (dcllmdlegacy) can not be used in 64bit applications. [Top]

Common new features

  • Package names has been changed to be more consistent with VCL naming convention. We removed LMD version number from package names as well as IDE version number. Runtime package names are prefixed with "lmdrt", while design-time package names - with "dcllmd". Following are some examples of generated package files: lmdrtdocking.dcp, lmdrtdocking.bpi, lmdrtdocking.lib, dcllmddocking.dcp, dcllmddocking.bpi, dcllmddocking.lib. IDE version suffix is still contained only in generated "bpl": lmdrtdocking_160.bpl. This also makes easier to port a project (supposed to be compiled with run-time packages) to another IDE version. Since package references contains no IDE version as well as no LMD platform version, migrating to the next IDE version will require no changes.

[Top]

LMD Tools

General

TLMDDBAliasNamesComboBox

This component uses features of BDE which is deprecated. Therefore control was moved to Legacy Package. If you used this control, please make sure to install dcllmdlegacy package (not installed by default from installer!).

TLMDDBDriverComboBox

This component uses features of BDE which is deprecated. Therefore control was moved to Legacy Package. If you used this control, please make sure to install dcllmdlegacy package (not installed by default from installer!).

TLMDDBTablesComboBox

This component uses features of BDE which is deprecated. Therefore control was moved to Legacy Package. If you used this control, please make sure to install dcllmdlegacy package (not installed by default from installer!).

LMDBaseEdit

Three values added to TLMDEditOption type: eoAllowCopy, eoAllowCut, eoAllowPaste. All LMDBaseEdit descendants which expose 'Options' property now support setting separate permissions for each of Copy/Cut/Paste action.

Neweditoptions.png

Actions in popup menu are shown/hidden according to current options. For example, all copy/cut/paste operations are disabled:

Lmdeditpopup.png

[Top]

LMDFormComboBox

New component TLMDFormComboBox added. This control is a generic combobox, allowing to dropdown a form containing any visual control:

Lmdformcombobox.png

[Top]

LMDDateTimePicker

New component TLMDDateTimePicker added. LMDCalendar and LMDClock controls received Style and ColorScheme properties. See screenshots of LMDDateTimePicker with different calendar and clock styles:

Datetimepicker1.png

Datetimepicker2.png

Datetimepicker3.png

[Top]

LMDMaskEdit

LMDMaskEdit received new mask type: meDateTime and new property TimeSettings.

Timesettings.png

The mask type allows to edit both date and time part of a DateTime value. For 'meTime' mask type a convenient edit mode is now supported, similar to that for meDate mask type.

Medatetime.png

Custom time formats support added. For custom formats time separator must be ':'

Custom formats can use

  • 'h' for hours in 12 hour format,
  • 'H' for for hours 24 hour format,
  • 'm' or M for minutes,
  • 's' or S for seconds,
  • 't' for AM/PM sign if 't' is omitted, then AM/PM sign is added at the end with a space.

'hh' ('mm', 'ss') means that leading zero is displayed, 'h' ('m', 's') means that leading zero is NOT displayed.

Examples:

  • 'h:mm:ss' - 3:34:12 am
  • 'hh:mm' - 03:34 am
  • 'hh:mmt' - 03:34am
  • 't h:mm' - am 3:34
  • 'HH:mm:ss' - 03:34:12

[Top]