Delphi Form Snippets

This is an example for Form Based Query

29 December, 2011   

ASP code example to redirect the user to a different URL.

30 March, 2013   

Example HTML code to draw a border around form-data

If you're looking for a great way to enable your visitors to navigate your web site, this JavaScript drop down box with automatic redirect may be what you're looking for. This JavaScript code will enable your visitors to click on a drop down box to select the location on your web site in which they would like to navigate. Once they make their...

An example of HTML form control where used-password input box

11 February, 2013   

File inputs can have an attribute of "multiple" which then allows multiple files to be selected in the file section dialog box.

An example of HTML form control where used single text input box

HTML Form using php code that accepts mail related information

06 February, 2012   

ASP Forms and User Input from HTML form

03 April, 2013   

Nice little search form snippet using HTML and CSS

Place the following JavaScript code into your HTML where you would like the button to appear:

22 January, 2011   

The example here is if you had a form on a website that when submitted, needed to use that information to go to a special URL where the login information was all appeneded to the URL. You could have the form post with method GET, but that is limited to the typical ?variable=foo&variable2=bar format.

23 April, 2011   

Below is a basic feedback form script 'feedback.asp'. You can add your own validation. Once the visitor has filled in all the form textfields an email will be sent with the feedback details including the date and time and the visitor's IP address to the email specified in the script.

Here are the code for TEdit To Button then Form Caption

02 June, 2011   

This is your most basic version of an image CAPTCHA.

Shows how to focus a control in a Windows Form. If you are working with Web forms it is very simple, you just use "WebControl.Focus()" but this does not work for Windows Forms.

You may create a back button like your browser has. The following script allows the visitor to press a button and returns the him to the previous page.

This tip shows how to extract the associated icon and draw it into a small area of the form (e.g. Notepad icon)

25 January, 2012   

Delphi Code example how to Cut, Copy and Paste

Place the following code where you would like the button to appear.