Posts

Showing posts from July, 2018

TWebBrowser in Delphi

Image
TWebBrowser component (in the Internet palette of Delphi IDE) is a Microsoft  ActiveX ®  control that you can use on your application's forms to browse Web sites, view Web pages and other documents, and download data located on the Internet. The TWebBrowser component is useful in situations where you don't want to disrupt the work flow in your application by switching from your application to a Web browser or other document-viewing application.  The TWebBrowser component can display any Web page that Microsoft Internet Explorer version 3.0 or later (i.e. 4.0, 4.01, 5, 5.5, 6 ...) can display.  For example, the TTWebBrowser component can display pages that includeany of the following features: 1. Standard HTML and HTML enhancements, such as floating frames and      cascading style sheets 2. Other ActiveX controls 3. Most Netscape plug-ins 4. Scripting, such as Microsoft Visual Basic Scripting Edition (VBScript) or    ...

Designing Login Dialog, Splash Screen and About Us Dialog in Delphi

Image
Generally, when we open as application secured by User and Password shows a Login dialog to validate login process. And then after login successfully a screen shows for some time and closes automatically that’s called as splash screen. Splash screen is used to show startup process like initial data loading, application settings loading etc. So, in this blog we will see how to design a Login dialog, Splash screen and an About Us dialog for our application in effective way.  Here I have used Delphi XE5 to create a project which will have a main form, a login form, a splash screen and a About Us dialog. Initially when we run application Login dialog will show and after Login Successfully Splash screen will show with progress bar indicating some process. And after splash screen process completed main form will load for work. And in main for I have added a menu Help -> About Us. So lets create a project file. Project File 1. Create a new project and save as Project1...