Move Columns In A Tdbgrid Snippets

06 October, 2019   

Delphi code example to move columns in a TDBGrid

15 February, 2015   

Move field position while still retaining its content.

05 April, 2015   

A simple PHP script that outputs data into formatted columns.

09 April, 2011   

On form, insert a Page Break after the first group of fields. This creates two "pages" in the form, which can be toggled using a command button on each.

C+ source code for Generate a spiral matrix for n elements

* Code to generate spiral matrix for n elements where n >= 1 * To generate spiral matrix for n elements just * Change the value of MAX to whatever u want :)

PHP code to add sortable column to WordPress in admin area .

31 October, 2011   

It is a class file which can export to excel. simply call the function and give sql Query and sql connection.

01 March, 2011   

Mouse Move Paint . A simple program for drawing using mouse move event in 2005 version... This code is compatible with : VB 2005, VB 2008, VB 2010 Steps For Creation:- --------------------------- 1. Change the background color of the form1 as white. 2. Then, double click the form and change the event as mouse move click event. 3. Now,...

This code snippet populates a datagridview control using array objects.

This is a short way of positioning display objects in a grid layout. It makes use of the modulo operator (%) to position each display object along the x axis and the floor method of the Math class for the y position. This example creates 20 instances of a custom display object called MyDisplayObject positioning each instance in a grid 5 columns...

04 July, 2011   

Animation with threads by John E. Grayson

23 October, 2012   

MySQL code example for sorting data in a GRID

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...

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.

This example code calculates the ratio between the X and Y columns of the RATIO table.

02 February, 2013   

An array that could dynamically adjust its size for a fluctuating capacity by SunnyD

Convert a coordinate (x,y) into the index for a 1D array. For example, the coordinate (3,1) would be at array index 8 if there are 5 columns. Assumption: Arrays start at 0.

31 May, 2012   

Show something moving across the screen

15 July, 2013   

This code will be used to bind an xml file to gridview