the IDENTIFIER is the ID of the object being added. The ID attribute can be used by a JavaScript (via the HTML DOM) or by CSS to make changes or style the element with the specified id.
The id attribute specifies a unique id for an HTML element
the CLASSIDENTIFIER is the object's class identifier as
CD481F4D-2D25-4759-803F-752C568F53B7
The CLASSIDENTIFIER is unique for each /COM
object, and can be found on control's documentation on the main object page,
where something like follows is displaying, or
explained here;
Tip The /COM object can be placed on a HTML page (with
usage of the HTML object tag: <object classid="clsid:...">)
using the class identifier: {CD481F4D-2D25-4759-803F-752C568F53B7}. The
object's program identifier is: "Exontrol.G2antt". The /COM
object module is: "ExG2antt.dll"
The following sample adds the eXG2antt component to a web page:
where the IDENTIFIER is the ID of the object being handled, and the EVENT
is the name of the event being handled. The PARAMETERS gets the list of
parameters that the event carries.
Using the FOR and EVENT attributes to associate events
gives you access to custom events fired by embedded objects and to any
parameters that an event generates. Unlike standard events that can be bound
using attributes or properties, in the case of custom objects these are not
available.
Use the FOR attribute to specify which element or object to
handle, assigning it an identifier or the name of an object, application, or
control. If you don't specify this attribute, the handler is bound to the
window by default. Notice that JScript is case-sensitive, so you must type
the identifier or name exactly as it appears in the corresponding element or
object.
Use the EVENT attribute to specify which event to associate to,
assigning it an event name. If the event generates parameters (few
predefined events do), you can also specify a list of comma-separated
parameter names enclosed in parentheses immediately after the event name.
The parameters are untyped. Because JScript is case-sensitive, make sure you
always spell event names in lowercase letters. Also, if you give a parameter
list, VBScript requires that all parameters defined for the event be listed,
even if they are not used.
The following JScript example displays a message box when the user clicks
an anchor element in the gantt control:
Some of the events pass the parameters by reference. Such of event could be
the KeyDown
event, where the KeyCode parameter is passed by reference, so user can
change it runtime.
For instance, the following JScript sample changes the TAB behavior, so
if user presses the TAB, the control sends instead the RIGHT key, so it
advance to the next editable field:
locate and click the bold identifier (main object) in the control's objects list ( G2antt
)
Under the object's help you will find:
Tip The /COM object can be placed on a HTML page (with
usage of the HTML object tag: <object classid="clsid:...">)
using the class identifier: {CD481F4D-2D25-4759-803F-752C568F53B7}. The
object's program identifier is: "Exontrol.G2antt". The /COM object
module is: "ExG2antt.dll"
Copyright 1999-2018 Exontrol. All rights reserved.