Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Web
Expertise: All
May 12, 1999

Double-Click to Create Skeleton Event Handlers in Visual InterDev 6

There's a handy shortcut in Visual InterDev 6 that saves you from typing in the function code around an event. While you are in VID's Source view, click the Script Outline tab and locate the object for which you need an event handler. Expand the object's node and then double-click the event name or the lightning bolt icon next to it. VID creates the skeleton event code such as:
 
<SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript>
<!--
function window_onload() {

}
//-->
</SCRIPT>
Notice that the skeleton handler is in the scripting language that you've set for your default--usually JavaScript for client-side scripts and VBScript for code that runs on the server.
Ken Cox
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date