Drag the control from the Toolbox and drop it anywhere in the form. The place where you drop it within the form is not important, as the control has no visual behavior.
&eventlist.Add("mouseover") //&eventlist is a variable Character (collection), created automatically
JSEventHandler1.AttachedControl = TextBlockSample.InternalName //TextBlockSample is a textblock on the web form
&img.FromImage(email1) //&img is a bitmap variable on form and email1, email2 image objects
Case JSEventHandler1.EventType = "mouseover"
&img.FromImage(email1) //restore original image onmouseover
Case JSEventHandler1.EventType = "mouseout"
&img.FromImage(email2) //change image onmouseout
JSEventHandler1.AttachedControl = "document"
&Length= &string.Length() // Eg: &Length variable on the form
- mousedown //user depresses the mouse button on this element
- mouseup //user releases the mouse button on this element
Most used "window" Events:
||Name of the control
Sets control's width
Sets control's height
EventList collection variable
The user control triggers an EventHandled event as described above.
Please visit: Default Installation Instructions for User Controls to install it.
Download the JSEventHandler User Control from the MarketPlace: Download here