![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 2 of 2 total |
![]() |
Wed, Oct 21 2015 4:30 PM | Permanent Link |
Christian Kaufmann | This code:
class procedure TFBSUserCreateAccountDlg.Execute(ATermsUrl: String); var f : TFBSUserCreateAccountDlg; begin f := TFBSUserCreateAccountDlg.Create(Application); f.LTerms.Url := ATermsUrl; f.ShowModal; end; compiled looks like this: bsusercreateaccountdlg_tfbsusercreateaccountdlg.$p.execute = function(atermsurl) { var $t = this, f; $ct.f = bsusercreateaccountdlg_tfbsusercreateaccountdlg.$p.create1.call(new bsusercreateaccountdlg_tfbsusercreateaccountdlg(), webforms_application); $ct.f.tfbsusercreateaccountdlg_lterms.tlink_seturl(atermsurl); $ct.f.showmodal(); }; And I get a runtime error ($ct not defined). Is this a compiler error or is something wrong with my code? cu Christian |
Thu, Oct 22 2015 12:50 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. ![]() | Christian,
<< And I get a runtime error ($ct not defined). Is this a compiler error or is something wrong with my code? >> It's a compiler error, and it's fixed. The issue was the compiler was allowing the "static routine" status to filter down into the variables also. Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Wednesday, July 2, 2025 at 06:46 PM | Privacy Policy![]() © 2025 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |