Jump to content

autoNumeric.js - TUniDBFormattedNumberEdit


herculanojs

Recommended Posts

TUniDBFormattedNumberEdit, TUniDBNumberEdit

 

Someone could tell me why when I use TUniDBFormattedNumberEdit component is generating fail me for lack of autoNumeric.

I located this file within the uni-0.99.95.1309 \ jQuery \autoNumeric-1.9.35.js and add in custom files in servermodule, the error disappears. However my components are being created at runtime in a frame.

post-1670-0-22786900-1472008020_thumb.png

Link to comment
Share on other sites

I'm dynamically creating TUniDBFormattedNumberEdit component, yet strangely even making reference to the units

uses

   Windows, Messages, SysUtils, Variants, Classes, Graphics,

   Controls, Forms, Dialogs, Data.DB, MemDS, DBAccess, Uni,

   System.Types, Xml.XMLIntf, System.StrUtils, uniImageList,

   uniButton, uniBitBtn, uniSpeedButton,

   datamodel.types, system.Contnrs, FireDAC.Stan.Intf,

   FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS,

   FireDAC.Phys.Intf, FireDAC.DApt.Intf, FireDAC.Comp.DataSet,

   FireDAC.Comp.Client,

 

   uniEdit, uniDBEdit, uniGUITypes, uniGUIAbstractClasses,

   uniGUIClasses, uniGUIForm, uniGUIBaseClasses, uniPanel,

   uniGUIRegClasses;

 


However I am getting the error message.

She only be resolved with the inclusion of autoNumeric file in custom files on the server.

 

I thought it might be due to some component of UniSpecial of Hayri Aslan. However since I treated topic with him, and told me that is not related to your component.

 


The strange thing is that it has created a new application, and add the component, do not have this problem.

But in my current application, I have this error.


Link to comment
Share on other sites

  • 1 year later...

post-5530-0-06656800-1518109365_thumb.jpg

 

Hi, 

 

I also get a similar error - "Ajax Error - autNumber is not a function". This happens as soon as I add a a TUniDBFormattedNumberEdit component to the form (design time) and runs the application and .showmodal on the form.

 

I can see the file autoNumeric-1.9.35.js being loaded from the server, so this is not the problem. 

 

Does anybody have any advise how this can be fixed?

 

Regards Alf

 

Ps. UniGui is Fantastic!!

 

:rolleyes:

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...