Codes from Developers

Delphi

AfterOpen,event,AfterClose,event,delphi

This example adds an entry to a memo with a message when an AfterOpen event or an AfterClose event occurs. Populate the ClientDataSet events with CheckButtonActive.


C#

c#,linq,select,clause,details

This Code will Display the Student Details using Select Clause LINQ


CSS HTML JavaScript

search,page,google,ajax,search,api,dhtml

A simple search page using Google AJAX Search API, and some DHTML


Delphi

dataset,FetchPooler,delphi

This example fills in the parameters of a client dataset from the entries of a list box.


C#

c#,custom,format,provider

This Code Shows How to Write a Custom Format Provider


Delphi

goRangeSelect,,DrawGrid,delphi

The following code selects the rectangle containing rows from 1 through 4, and columns 2 and 3. goRangeSelect in the DrawGrid Options parameter must be True in order to be able to select a range of cells. This example requires a button, a DrawGrid, and a populated ImageList.


C#

c#,illustrate,leftshift,operation

This code Illustrates LeftShift Operations. The shift operators allow programmers to adjust an integer by shifting all of its bits to the left or the right.


C#

c#,socket,send,recieve

This sample code shows how to Socket Send and Receive in c#


C#

c#,linq,join,two,lists

this code will join two list of classes on primary field


Java

Demonstrating,the,runnable,interface,java

Demonstrating the runnable interface in Java


C#

c#,string,collections,into,groups,split

THis Code Shows How to Split a String Collections into Groups


C#

Command,Pattern

Command Pattern


PHP

This,code,displays,graphical,tree,similar,Windows,Explorer,php

This code displays a graphical tree (similar to that of Windows' Explorer) in PHP from the contents of a database table


Delphi

draw,grid,top,row,DrawGrid,delphi

This code uses a draw grid and a button on a form. When the user clicks the button, the last row of the draw grid becomes the top row. This example requires a button, a DrawGrid, and a populated ImageList.


PHP

Upload,image,file,MySQL,BLOB

Upload image file to MySQL as BLOB


PHP

Directory,browser,in,php

Directory browser in PHP


Delphi

overriding,ClientWndProc,method,delphi

This example shows the overriding of the ClientWndProc method. To test the method bellow, create a VCL forms application ( Start > New > VCL Forms Application - Delphi ). Then set the FormStyle property from Object Inspector as fsMDIForm and override the ClientWndProc method of the TForm1 class. Also declare the global variable FDefClientProc of type TFarProc.


JavaScript

Create,Access,Objects,Constructor,Notation,javascript,js

Create & Access Objects Constructor Notation with Javascript


Java

Color,each,column,in,a,JTable,java

Color each column in a JTable in Java


Delphi

TPanel,OnDragOver,event,handler,delphi

This code is a TPanel's OnDragOver event handler that will not allow a label control to be dropped on the panel and stops the dragging of the label as soon as you drag the label onto the panel.