When a KeyboardEvent fires, you can test which key was pressed because that event contains information you can write logic against.
Usually, when one event loads, it writes over any previous ones. Using this snippet, you can add several events to one page without any problems.
Example shows how to handle window closing events. This is a very basic event handling when you are working on a UI Application.
Scribble an applet of intermediate complexity, used as an example in the introductory chapter. Click and scribble in the window.
Simple usage: var xmlLoader:LoadXMLUtil = new LoadXMLUtil("pathtoxml.xml"); xmlLoader.addEventListener(Event.COMPLETE, onLoaderComplete); private function onLoaderComplete(event:Event):void{ trace("Loaded XML: "); trace(xmlLoader.xml); }
This Java code example on how to hide a frame when closed
Html Code example for hCalendar
This code will be used to bind an xml file to gridview
Word scramble game that was made in java by MountainDew
JavaScript Code example to protect Your Web Page Content
Protect your web page content with JavaScript code
Animation with threads by John E. Grayson
JQueryUI Search Auto complete Jump Menu with data from remote URL
This snippet shows how to add treenode's to a treeview control. It also shows how to add sub nodes.
There are times when you need to access the stage property before onCreationComplete. Here are two ways to do it.
As the most important building block of any Delphi application, the TForm object is most of the times used as is. Delphi's TForm object provides enough properties and events to help you do (and control) whatever needed with it. Sometimes you'll find out that a few events or properties are missing... Try creating a simple form application. Now...
Show the currently active processes.
Create in dbgrid one column and insert the caption "RecNo" or other in title property. In dbgrid onDrawColumnCell event insert the following code:
jQuery code example for animated scroll
Although there really isn't any foolproof way to protect your web page content, this JavaScript will discourage the more novice Internet users from copying your content. An alert box will appear displaying your copyright information when the right mouse button is clicked. However, this script will not completely protect your content from more...