Dear Expert
I’m creating Web client Project.
I create Html5 display and drag object into it.
I have a doubt.
How can I use these objects in code behind ( Javascript)
Example. With Normal Dotnet display I can declare a AlarmWindow behind cod with TWindowAlarm Object Type.
So, with code behind html5, How can I do that
Bests
Hi Thanos,
You can obtain control of the object and access its properties using the following syntax:
this.DisplayOpening = function()
{
var AWindow = this.CurrentDisplay.GetControl("alarm");
};
You need to use the same Uid of the AlarmWindow object you want to take control of with “AWindow= this.CurrentDisplay.GetControl(‘alarm’);”. Here is an example below.
If you have any questions, we are available.
Best Regards,
Tatsoft Team.