Help Servoy Globals

I have a problem with Servoy globals.

I was making an example class inside globals.

globals.js:

function AbsOBJECT() {
	this.name = "sample";
	this.getName = function(){
		return this.name;
	}
}

then i have a form to test to call the object that i made with

var abs_obj = new globals.AbsOBJECT();
abs_obj.---?

the intellisence does not see the variables and the functions that i made inside.
can someone help me how to use globals.js because i want to make objects and functions inside it but i cannot call the properties and funtions
that i made inside my object. Thank you in advance.

You should check out Gary Dotzlaw’s tutorials.
He is very thorough in explaining the concepts of Object Oriented programming in Servoy.

http://dotzlaw.com/tutorials/servoy-tut … ogramming/

Regards

Mccourt.cordingley1372837951:
You should check out Gary Dotzlaw’s tutorials.
He is very thorough in explaining the concepts of Object Oriented programming in Servoy.

http://dotzlaw.com/tutorials/servoy-tut … ogramming/

Regards

thanks sir.

Hi, fc.

It works for me in Servoy Version: 7.4.1 - build 2028:

[attachment=0]jsdoc_object.png[/attachment]

You may be using a version that does not support this.

I hope this helps!

+1 with Gary Dotzlaw training and excellent piece of work and a great basis for approaching Servoy

Thank you sir Kim W. Premuda, yes you’re right because as of now I am using Servoy 5.2x , thank you very much