sagt3k Posted April 10, 2013 Share Posted April 10, 2013 Hi Someone used FastScript with UniGui? Unfortunately it seems there are problems with visual objects. I managed, however, to create scripts in thread but only algorithm, without working with visual objects UniGui*. It will be possible to solve the problem of UniGui and FastScript in the future ? Thanks 1 Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted April 10, 2013 Administrators Share Posted April 10, 2013 As far as I know you must import uniGUI objects into FastScript before you can use them. Link to comment Share on other sites More sharing options...
sagt3k Posted April 11, 2013 Author Share Posted April 11, 2013 Here attached an example. Pressing RUN goes on stack-overflow. The idea would be to create Forms and Algorithms as a script. I already have several VCL applications that work this way. To use these potentials UNIGUI together would create a backend application and then build in function of needs form and algorithms directly by the customer. etc.. Thanks for your support. FastScript_sample.zip Link to comment Share on other sites More sharing options...
sagt3k Posted April 11, 2013 Author Share Posted April 11, 2013 Anybody can help me? And yet it seems to me a very good idea to provide it with unigui pascal script at runtime. Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted April 11, 2013 Administrators Share Posted April 11, 2013 Anybody can help me? And yet it seems to me a very good idea to provide it with unigui pascal script at runtime. Please add a feature request. Link to comment Share on other sites More sharing options...
sagt3k Posted April 11, 2013 Author Share Posted April 11, 2013 Making UniGui compatible with FastScript. I am developing an application, an interface, where algorithms and form are declared inside a database. I think that these features are very well suited and very interesting to develop a dynamic product. In addition you can write with FastScript with other languages, C, Basic and JavaScript. Link to comment Share on other sites More sharing options...
Asiaapollo Posted April 11, 2013 Share Posted April 11, 2013 I am totally agreed, but I hope that UniGUI can be compatible with TMS Scripter. Link to comment Share on other sites More sharing options...
sagt3k Posted April 12, 2013 Author Share Posted April 12, 2013 I have tried, I have attached an example but perhaps mistaken in something? Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted April 12, 2013 Administrators Share Posted April 12, 2013 Making UniGui compatible with FastScript. I am developing an application, an interface, where algorithms and form are declared inside a database. I think that these features are very well suited and very interesting to develop a dynamic product. In addition you can write with FastScript with other languages, C, Basic and JavaScript. I mean start a new thread in Feature Requests forum so I can track it in future. Link to comment Share on other sites More sharing options...
sagt3k Posted April 12, 2013 Author Share Posted April 12, 2013 ok, I totally agree Link to comment Share on other sites More sharing options...
Freezer Posted April 26, 2013 Share Posted April 26, 2013 Anybody can help me? And yet it seems to me a very good idea to provide it with unigui pascal script at runtime. In your test project you have some mistakes. Registring of classes must be in format: Script.AddClass(TNewClass, 'TNewClassParentClass'); !!! In your project you wrote: Script.AddClass(TUniButton,'TUniButton'); It's mean: TUniButton is ParentClass of TUniButton.!!! Must be: Script.AddClass(TUniBaseControl,'TWinControl'); ..... Script.AddClass(TUniCustomButton,'TUniBaseButton'); Script.AddClass(TUniButton,'TUniCustomButton'); If you want use all properties in FastScript you must register all ParentClasses in the correct order. If script don't know parent of class, it thinks parentClass is TObject Link to comment Share on other sites More sharing options...
alp.yilmaz Posted December 16, 2018 Share Posted December 16, 2018 hi @freezer Can you share a sample project with FastScript? Link to comment Share on other sites More sharing options...
Dm_Ufa Posted December 12, 2020 Share Posted December 12, 2020 Did you manage to make FastScript friends with UniGui ? Link to comment Share on other sites More sharing options...
风吹小机机 Posted December 12, 2020 Share Posted December 12, 2020 This post is a bit old... I had finished the online development of unigui last year, but because of some protocols, I couldn't send it out Link to comment Share on other sites More sharing options...
Dm_Ufa Posted December 12, 2020 Share Posted December 12, 2020 A little bit started to turn out. I can load a simple form from the database and execute a simple script. But there is still a lot of work to adapt. Link to comment Share on other sites More sharing options...
sagt3k Posted January 9, 2021 Author Share Posted January 9, 2021 Hi Dm_Ufa I am very interested in generating controls dynamically via fastscript. Can you attach the source code where you clear AddClass and AddObject for TUniButton? I have problem with this Script example: Var B:TUniButton; begin B:=TUniButton.Create(UniApplication); B.Parent:=UniPanel1; B.Caption:='Hello!!!'; B.Left:=100; end. Link to comment Share on other sites More sharing options...
风吹小机机 Posted January 13, 2021 Share Posted January 13, 2021 I have successfully combined unigui with fastscript Recently, it took three months to rewrite fr's online report designer with unigui Unigui is too powerful 4 Link to comment Share on other sites More sharing options...
alp.yilmaz Posted January 13, 2021 Share Posted January 13, 2021 6 hours ago, 风吹小机机 said: I have successfully combined unigui with fastscript Recently, it took three months to rewrite fr's online report designer with unigui Unigui is too powerful Bless your hands, It's So Beautiful. Is It Possible To Share This With Us .. Link to comment Share on other sites More sharing options...
风吹小机机 Posted January 15, 2021 Share Posted January 15, 2021 On 1/13/2021 at 11:06 PM, alp.yilmaz said: Bless your hands, It's So Beautiful. Is It Possible To Share This With Us .. It's not easy for me to access the Internet. I have set up a chat group. Please use international QQ, group number: 59076669 Link to comment Share on other sites More sharing options...
风吹小机机 Posted January 18, 2021 Share Posted January 18, 2021 Online dynamic framework documentation Web Dynamic Framework specification_en1.docx 1 Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted January 21, 2021 Administrators Share Posted January 21, 2021 On 1/13/2021 at 11:23 AM, 风吹小机机 said: I have successfully combined unigui with fastscript Recently, it took three months to rewrite fr's online report designer with unigui Unigui is too powerful Looks very interesting!! 😏 Link to comment Share on other sites More sharing options...
风吹小机机 Posted January 22, 2021 Share Posted January 22, 2021 22小时前,Farshad Mohajeri说: 看起来很有趣! 😏 I withdrew a message Link to comment Share on other sites More sharing options...
Dm_Ufa Posted January 24, 2021 Share Posted January 24, 2021 On 1/10/2021 at 1:52 AM, sagt3k said: Hi Dm_Ufa I am very interested in generating controls dynamically via fastscript. Can you attach the source code where you clear AddClass and AddObject for TUniButton? I have problem with this Script example: Var B:TUniButton; begin B:=TUniButton.Create(UniApplication); B.Parent:=UniPanel1; B.Caption:='Hello!!!'; B.Left:=100; end. I will answer later, while the laptop is being repaired Link to comment Share on other sites More sharing options...
Dm_Ufa Posted January 26, 2021 Share Posted January 26, 2021 On 1/10/2021 at 1:52 AM, sagt3k said: Hi Dm_Ufa I am very interested in generating controls dynamically via fastscript. Can you attach the source code where you clear AddClass and AddObject for TUniButton? I have problem with this Script example: Var B:TUniButton; begin B:=TUniButton.Create(UniApplication); B.Parent:=UniPanel1; B.Caption:='Hello!!!'; B.Left:=100; end. fsGlobalUnit.AddClass(TUniCustomButton, 'TButton'); fsGlobalUnit.AddClass(TUniButton, 'TUniCustomButton'); fsScript1.AddObject(B.Name, B); Link to comment Share on other sites More sharing options...
sagt3k Posted January 27, 2021 Author Share Posted January 27, 2021 Thanks Antonio Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now