sagt3k Posted April 10, 2013 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 Quote
Administrators Farshad Mohajeri Posted April 10, 2013 Administrators Posted April 10, 2013 As far as I know you must import uniGUI objects into FastScript before you can use them. Quote
sagt3k Posted April 11, 2013 Author 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 Quote
sagt3k Posted April 11, 2013 Author 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. Quote
Administrators Farshad Mohajeri Posted April 11, 2013 Administrators 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. Quote
sagt3k Posted April 11, 2013 Author 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. Quote
Asiaapollo Posted April 11, 2013 Posted April 11, 2013 I am totally agreed, but I hope that UniGUI can be compatible with TMS Scripter. Quote
sagt3k Posted April 12, 2013 Author Posted April 12, 2013 I have tried, I have attached an example but perhaps mistaken in something? Quote
Administrators Farshad Mohajeri Posted April 12, 2013 Administrators 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. Quote
Freezer Posted April 26, 2013 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 Quote
alp.yilmaz Posted December 16, 2018 Posted December 16, 2018 hi @freezer Can you share a sample project with FastScript? Quote
Dm_Ufa Posted December 12, 2020 Posted December 12, 2020 Did you manage to make FastScript friends with UniGui ? Quote
风吹小机机 Posted December 12, 2020 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 Quote
Dm_Ufa Posted December 12, 2020 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. Quote
sagt3k Posted January 9, 2021 Author 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. Quote
风吹小机机 Posted January 13, 2021 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 Quote
alp.yilmaz Posted January 13, 2021 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 .. Quote
风吹小机机 Posted January 15, 2021 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 Quote
风吹小机机 Posted January 18, 2021 Posted January 18, 2021 Online dynamic framework documentation Web Dynamic Framework specification_en1.docx 1 Quote
Administrators Farshad Mohajeri Posted January 21, 2021 Administrators 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!! 😏 Quote
风吹小机机 Posted January 22, 2021 Posted January 22, 2021 22小时前,Farshad Mohajeri说: 看起来很有趣! 😏 I withdrew a message Quote
Dm_Ufa Posted January 24, 2021 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 Quote
Dm_Ufa Posted January 26, 2021 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); Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.