Control Multiple Object Snippets


Maxscript UI & Graphical RPManager - Control multiple object properties with single object for

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.

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.

The ActiveControl property of a Delphi Form object specifies what control has the input focus. You can use this property to set what control is (initially) focused when the form is created and displayed to the user. If you want to move the mouse cursor to the control with the focus, you can use the next code in the form's OnCreate event handler...

16 October, 2012   

MySQL code example to insert multiple records with one query

This code snippet populates a datagridview control using array objects.

Take array and create multiple columns, define divisible by value ($divis) from total results then use modulus within the loop. This example shows multiple columns for unordered list items.

Example Apache .htaccess file to add access control header

20 March, 2013   

ASP code example to block Multiple IP Addresses

30 January, 2012   

The PL SQL code samples making use of the control structures will be given in the following.

Delphi code example - how to Cut, Copy and Paste text from the control which has the focus.

11 February, 2013   

Quicktime still requires the double-object method to get it done across all browsers. Not super pretty, but it does get the job done.

11 July, 2013   

Help manage mysql database common task

24 December, 2014   

Example shows here how to select from multiple mySQL tables.

18 May, 2011   

To randomize an array we loop over the length of the array, removing an object chosen at random and then adding it back onto the Array’s end position. Think of this as having a deck of cards where you pick a card at random from the deck and move it to the top of the stack repeated for the total number of cards in the deck. It’s important to...

01 June, 2013   

Example shows here how to Embed Code for Quicktime

05 February, 2011   

Valid technique, as it doesn't need the <embed> tag.

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

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

Example shown here how to best insert a flash movie into an XHTML document.