NG DialogPack

Latest Version: 2017.3

Introduction

NG-DialogPack package contains tree major components:

  • TNGTaskDialog component allows to configure and show Windows Vista (and higher) like task dialogs. Task dialog can contain:
    • Caption, Title and Content texts.
    • MainIcon, which can be one of the standard icons, like Information, Warning, Error, ect.; or a custom icon.
    • Standard buttons, such as Ok, Cancel, Yes, No, Retry, ect; or a custom buttons, with custom Caption, ModalResult and Enabled state, configurable by the user. There is the ability to show custom buttons as command links, supporting CommandLinkHint feature.
    • Radio buttons with Caption and Enabled state configurable by the user.
    • Progress bar with various configurable properties, such as Min, Max and Position.
    • Expandable additional information text with expand/collapse button.
    • Verification check-box with configurable initial check-box state and check-box caption.
    • Footer area with FooterIcon, analogous to MainIcon, and FooterText.
  • TNGInputDialog component allows to configure and show input dialog, which is a dialog that contains some input control, such as edit or memo, and provides a way for the user to input a value. Input dialog can contain:
    • Caption, Title and Content texts, MainIcon, standard and custom buttons, expandable additional information, verification check-box and footer area - all these features are analogous to TNGTaskDialog.
    • Input control, which can be configured by the user by assigning a value to InputType property. Input control can be one of the following: edit, memo, password edit, editable combo-ox, non-editable combo-box, date-time picker or a custom input control (or several controls) configured as a mini-HTML template, using TemplateHtml property.
    • InputValue property can be used to specify initial input value, which is shown when the dialog executed. As well, InputItems property can be used to configure combo-box items.
  • TNGMessageDialog component allows to configure and show simple message dialogs with a look, compatible with TNGTaskDialog. The main purpose of the component is to be used internally inside TNGDialogs.Message overloaded methods, so, it, probably, need not be used explicitly. The component provides a set of properties, which are analogous to Delphi standard MessageDlg function parameters. First two dialog components support advanced set of features, such as callback timer, OnButtonClick event with the ability of dialog content modification from the event handler, and navigation.

Besides the controls we are proud to introduce a simple, very convenient API for executing dialogs. The API is organized as static methods of TNGDialogs structure, most of which are overloaded. In most cases this API allows to show required dialog writing one or just several lines of code without placing dialog components on the form. The API provides replacement for standard Delphi dialog functions, such as ShowMessage, MessageDlg, InputBox and InputQuert to allow to show dialogs, compatible with task dialog look and feel. It also contains some additional simple dialog functions, such as Error, Warning or Information. All these function are overloaded, which allows to specify only required parameters. Another part of Fluent Interface API is our unique dialog builders, available for task and input dialogs.

Since NG 2016 release VCL Styles are fully supported in Delphi/C++Builder XE2 and better.

Finally the package provides design-time editor for TNGTaskDialog and TNGInputDialog components. Double click on the dialog component. placed on a form, to execute design-time editor. The editor provides a simple way to configure dialog, and provides the ability to look at the resulting dialog by clicking “Show Dialog” button.

Features

  • Compatible with Delphi and C++ Builder XE2 and better, including 64bit support for XE2 and higher! New Delphi/C++Builder releases will be supported almost immediately after public availability.
  • Supported IDEs:
    • Delphi 2010 and higher
    • C++ Builder 2010 and higher
    • All corresponding Studio Products (RAD Studio 2010, XE, XE2 and higher)
  • Includes TNGTaskDialog which provides all features of Windows TaskDialog (available since Windows Vista), emulating all those features in earlier OS (e.g. Windows XP)
  • Advanced TNGInputDialog, supporting several data types and many TaskDialog features. Besides that any control can be added via HTML templates.
  • TNGMessageDialog which allows to display message dialogs in TTaskDialog look.
  • Additional smaller controls for designing dialogs
  • Advanced designtime editor for TNGTaskDialog and TNGInputDialog
  • VCL Styles support in XE2 and higher
  • Supported operating systems: Win 2000 or better (including Windows 7 and higher)
  • Full sourcecode of all controls included. Registered versions include NG util to compile packages on target system.
  • Extensive demo project with sourcecode
  • Free updates via Internet
  • A Site License covers unlimited number of developers in same organization at one location
  • Free technical support via public forum (forum.lmd.de), e-mail, fax or mail;
  • Also available as part of NG Complete or LMD VCL Complete.

Screenshots

Taskdialog with various features

Use TNGTaskDialog component to provide complex message dialogs with custom buttons, command links, text with hyperlinks, callbacks, header- and footer text and icons and so on

TNGInputDialog

An advanced InputDialog is not provided by Windows. NG DialogPack provides such a dialog with many TaskDialog features and several input possibilities

Taskdialog with advanced features

System- or emulated Taskdialog controls allow changing of states at runtime (either by using events or callbacks). Besides that internal controls can be manipulated at runtime via code.

TNGInputDialog - HTML Templates (1)

One of the most powerful feature of TNGInputDialog is usage of HTML Templates. In this example user can select value by clicking on an image.

TNGInputDialog - HTML Templates (2)

TNGInputDialog supports the use of HTML Templates. In this example a password dialog is emulated by simple HTML Template. Interaction between controls on dialog is performed via event handlers

Designtime Editor

Task- and Inputdialog provide simple to use editor at designtime

ExpandedText demo (Charcoal Dark Slate)

Advanced Taskdialog in Charcoal Dark Slate VCL Style theme

Advanced Taskdialog in Charcoal Dark Slate VCL Style theme

NG InputDialog (Amethyst Kamri)

Simple NG InputDialog in Amethyst Kamri VCL Style theme

NG InputDialog with ComboBox (Amethyst Kamri)

NG InputDialog with itComboList stype in Amethyst Kamri VCL Style theme

HTML Template Sample Dialog (Aqua Graphite)

The HTML Template Sample dialog in Aqua Graphite VCL Style theme

Components

TNGTaskDialog
TNGTaskDialog is a component that provides the modern Vista task dialog not only in Windows Vista and better, but also on earlier Windows installations. The list of features that enable a better user experience include HTML and Unicode support, customizable common buttons, radio buttons, "command link" buttons, expandable text area, progress bar, verification checkbox, user function callbacks, timer support on timer etc. All of these features can be easily set via an extensive component editor at designtime or via code at runtime (either via standard or fluent interface).
TNGInputDialog
TNGInputDialog is a dialog component, which provides a way for the user to enter input value. Usually this value is a string value, so edit or memo controls are used to represent/edit the value. However, input dialog supports more input controls: Edit, Memo, Date-time picker, Editable Combo-box, Non-editable Combo-Box, Password edit, Custom Mini-HTML template. Many of the TaskDialog features like verification checkboxes or custom buttons are available as well.
TNGMessageDialog
TNGMessageDialog component allows to configure and show simple message dialogs with a look, compatible with TNGTaskDialog. The main purpose of the component is to be used internally inside TNGDialogs.Message overloaded methods, so, it, probably, need not be used explicitly. The component provides a set of properties, which are analogous to Delphi standard MessageDlg function parameters.
TNGButtonPanel
Simple TaskPanel descendant which automatically arranges button controls to help creating dialog bottom panels more quickly.
TNGTaskPanel
Simple TPanel descendant which emulates the look of bottom panels in Taskdialogs on Windows Vista and better.

Downloads

Description Date Available Files
NG Controls Trial

This trialversion includes NG ConnectionPack, NG Drag&DropPack, NG SerializationPack (XE and higher only), NG HTMLPack, NG DialogPack and NG ValidatorPack Trials.

HTMLPack, Drag&DropPack and DialogPack demo files contain compiled demos.

Delphi XE2 (and better) release contains 32bit + 64bit support. Latest ServicePack required for XE2 + XE6 releases.

Installation problems? Read the corresponding Package Installation Wiki entry.

Terms of use (Trials) / License Agreement / Support Topics

May 23, 2017

© LMD Innovative, Germany. All rights reserved. All other trademarks are acknowledged.