Home »» Delphi [Programming]
Thread Profile: Js Delphi Bridge.
Js Delphi Bridge.
Hello,
I want do something like this.
Delphi :
type tMyCoucou=class
property name:string;
end;
Jscript :
var t=new tmycoucou;
t.name='test';
I think "TJSClass" will do this
but not implemented
someone can help me to implement it ?
okydoky.
Delphi mailing list
Delphi (AT) mozdev (DOT) org
I want do something like this.
Delphi :
type tMyCoucou=class
property name:string;
end;
Jscript :
var t=new tmycoucou;
t.name='test';
I think "TJSClass" will do this
but not implemented
someone can help me to implement it ?
okydoky.
Delphi mailing list
Delphi (AT) mozdev (DOT) org
- 7Answer
- Total
at [2008-5-5 5:04:31]
Delphi mailing list
Delphi (AT) mozdev (DOT) org
- 1No.
- Answer
at [2008-5-5 5:05:31]
Hi,
are there any sample-code for this ?
Thanks
Karsten
Sterling Bates schrieb:
That should work as long as "property name: string" appears under the
"published" scope keyword. Just being public won't work. Also, your
JS code should read "var t = new tMycoucou();".
Thanks,
Sterling
foxz wrote:
>
>Hello,
>>
>I want do something like this.
>>
>Delphi :
>>
>type tMyCoucou=class
>property name:string;
>end;
>>
>
>>
>Jscript :
>>
>var t=new tmycoucou;
>t.name='test';
>>
>>
>>
>I think "TJSClass" will do this
>but not implemented
>>
>someone can help me to implement it ?
>>
>okydoky.
>
>Delphi mailing list
>Delphi (AT) mozdev (DOT) org
>
>>
>>
>
>
>
>Delphi mailing list
>Delphi (AT) mozdev (DOT) org
>
Delphi mailing list
Delphi (AT) mozdev (DOT) org
are there any sample-code for this ?
Thanks
Karsten
Sterling Bates schrieb:
That should work as long as "property name: string" appears under the
"published" scope keyword. Just being public won't work. Also, your
JS code should read "var t = new tMycoucou();".
Thanks,
Sterling
foxz wrote:
>
>Hello,
>>
>I want do something like this.
>>
>Delphi :
>>
>type tMyCoucou=class
>property name:string;
>end;
>>
>
>>
>Jscript :
>>
>var t=new tmycoucou;
>t.name='test';
>>
>>
>>
>I think "TJSClass" will do this
>but not implemented
>>
>someone can help me to implement it ?
>>
>okydoky.
>
>Delphi mailing list
>Delphi (AT) mozdev (DOT) org
>
>>
>>
>
>
>
>Delphi mailing list
>Delphi (AT) mozdev (DOT) org
>
Delphi mailing list
Delphi (AT) mozdev (DOT) org
- 2No.
- Answer
at [2008-5-5 5:06:29]
Hi,
are there any sample-code for this ?
Thanks
Karsten
Hello,
I want do something like this.
Delphi :
type tMyCoucou=class
property name:string;
end;
Jscript :
var t=new tmycoucou;
t.name='test';
>
>
>
I think "TJSClass" will do this
but not implemented
someone can help me to implement it ?
okydoky.
Delphi mailing list
Delphi (AT) mozdev (DOT) org
--
Delphi mailing list
Delphi (AT) mozdev (DOT) org
are there any sample-code for this ?
Thanks
Karsten
Hello,
I want do something like this.
Delphi :
type tMyCoucou=class
property name:string;
end;
Jscript :
var t=new tmycoucou;
t.name='test';
>
>
>
I think "TJSClass" will do this
but not implemented
someone can help me to implement it ?
okydoky.
Delphi mailing list
Delphi (AT) mozdev (DOT) org
--
Delphi mailing list
Delphi (AT) mozdev (DOT) org
- 3No.
- Answer
at [2008-5-5 5:07:35]
Delphi mailing list
Delphi (AT) mozdev (DOT) org
- 4No.
- Answer
at [2008-5-5 5:08:38]
Hi Sterling,
I'm sorry, I can't find any sample according to classes in the
bridge-zip. Do you have any samples?
Karsten
Hi Karsten,
If I recall correctly, the bridge zip file has a samples folder, and
there are functional examples of classes in there.
Sterling
Karsten Wassermann wrote:
>
>>Hi,
>>
>>are there any sample-code for this ?
>>
>>Thanks
>>Karsten
>>
>>
>>
>>
>
>>
Hello,
I want do something like this.
Delphi :
type tMyCoucou=class
property name:string;
end;
Jscript :
var t=new tmycoucou;
t.name='test';
I think "TJSClass" will do this
but not implemented
someone can help me to implement it ?
okydoky.
Delphi mailing list
Delphi (AT) mozdev (DOT) org
>>
>>
>>Delphi mailing list
>>Delphi (AT) mozdev (DOT) org
>>
>>
>>
>
>>
>
>
>
>Delphi mailing list
>Delphi (AT) mozdev (DOT) org
>
Delphi mailing list
Delphi (AT) mozdev (DOT) org
I'm sorry, I can't find any sample according to classes in the
bridge-zip. Do you have any samples?
Karsten
Hi Karsten,
If I recall correctly, the bridge zip file has a samples folder, and
there are functional examples of classes in there.
Sterling
Karsten Wassermann wrote:
>
>>Hi,
>>
>>are there any sample-code for this ?
>>
>>Thanks
>>Karsten
>>
>>
>>
>>
>
>>
Hello,
I want do something like this.
Delphi :
type tMyCoucou=class
property name:string;
end;
Jscript :
var t=new tmycoucou;
t.name='test';
I think "TJSClass" will do this
but not implemented
someone can help me to implement it ?
okydoky.
Delphi mailing list
Delphi (AT) mozdev (DOT) org
>>
>>
>>Delphi mailing list
>>Delphi (AT) mozdev (DOT) org
>>
>>
>>
>
>>
>
>
>
>Delphi mailing list
>Delphi (AT) mozdev (DOT) org
>
Delphi mailing list
Delphi (AT) mozdev (DOT) org
- 5No.
- Answer
at [2008-5-5 5:09:37]
Karsten Wassermann :
I'm sorry, I can't find any sample according to classes in the
bridge-zip. Do you have any samples?
Karsten, why don't you write a small sample class (just with the
essentials) which you would expect to work but which does not, and post
it here? We could thus point out what you're doing wrong, if that's the
case.
- 6No.
- Answer
at [2008-5-5 5:10:39]
Hi Sterling,
I'm sorry, I can't find any sample according to classes in the
bridge-zip. Do you have any samples?
Karsten
Hi Karsten,
If I recall correctly, the bridge zip file has a samples folder, and
there are functional examples of classes in there.
Sterling
Karsten Wassermann wrote:
>
>>Hi,
>>
>>are there any sample-code for this ?
>>
>>Thanks
>>Karsten
>>
>>
>>
>>
>
>>
Hello,
I want do something like this.
Delphi :
type tMyCoucou=class
property name:string;
end;
Jscript :
var t=new tmycoucou;
t.name='test';
I think "TJSClass" will do this
but not implemented
someone can help me to implement it ?
okydoky.
Delphi mailing list
Delphi (AT) mozdev (DOT) org
>>
>>
>>Delphi mailing list
>>Delphi (AT) mozdev (DOT) org
>>
>>
>>
>
>>
>
>
>
>Delphi mailing list
>Delphi (AT) mozdev (DOT) org
>
- 7No.
- Answer